From bbe6e4cefaf6d631cadce2381e7fdaefd238a795 Mon Sep 17 00:00:00 2001 From: maxceem Date: Tue, 12 Jan 2021 11:37:32 +0200 Subject: [PATCH] fix: cannot load v2 projects ref issue #4258 --- src/projects/detail/containers/ProjectInfoContainer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/projects/detail/containers/ProjectInfoContainer.js b/src/projects/detail/containers/ProjectInfoContainer.js index dba45af87..a14a51beb 100644 --- a/src/projects/detail/containers/ProjectInfoContainer.js +++ b/src/projects/detail/containers/ProjectInfoContainer.js @@ -434,7 +434,7 @@ class ProjectInfoContainer extends React.Component { ? _.find(projectTemplates, pt => pt.id === projectTemplateId) : getProjectTemplateByKey(projectTemplates, projectTemplateKey) - const isTaaS = PROJECT_CATEGORY_TAAS === projectTemplate.category + const isTaaS = projectTemplate && PROJECT_CATEGORY_TAAS === projectTemplate.category let directLinks = null if (hasPermission(PERMISSIONS.VIEW_PROJECT_SPECIAL_LINKS)) { directLinks = []