Skip to content

Commit 9b3363c

Browse files
author
vikasrohit
authored
Merge pull request #4260 from appirio-tech/hotfix/v2-project-cannot-load
[HOTFIX] [PROD] v2 project cannot load
2 parents c41bc50 + bbe6e4c commit 9b3363c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/projects/detail/containers/ProjectInfoContainer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ class ProjectInfoContainer extends React.Component {
434434
? _.find(projectTemplates, pt => pt.id === projectTemplateId)
435435
: getProjectTemplateByKey(projectTemplates, projectTemplateKey)
436436

437-
const isTaaS = PROJECT_CATEGORY_TAAS === projectTemplate.category
437+
const isTaaS = projectTemplate && PROJECT_CATEGORY_TAAS === projectTemplate.category
438438
let directLinks = null
439439
if (hasPermission(PERMISSIONS.VIEW_PROJECT_SPECIAL_LINKS)) {
440440
directLinks = []

0 commit comments

Comments
 (0)