Skip to content

Commit 200f292

Browse files
committed
Added check for empty phase topics
1 parent 34a793f commit 200f292

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
@@ -61,7 +61,7 @@ class ProjectInfoContainer extends React.Component {
6161

6262
// load phases feeds if they are not loaded yet
6363
// note: old projects doesn't have phases, so we check if there are any phases at all first
64-
phases && phases.forEach((phase) => {
64+
phases && phasesTopics && phases.forEach((phase) => {
6565
if (!phasesTopics[phase.id]) {
6666
loadPhaseFeed(project.id, phase.id)
6767
}

0 commit comments

Comments
 (0)