We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a8e165 commit 46f6345Copy full SHA for 46f6345
src/containers/ChallengeEditor/index.js
@@ -77,7 +77,8 @@ class ChallengeEditor extends Component {
77
loadResourceRoles,
78
loadChallengeDetails,
79
loadResources,
80
- loadProject
+ loadProject,
81
+ projectDetail
82
} = this.props
83
loadTimelineTemplates()
84
loadChallengePhases()
@@ -88,7 +89,9 @@ class ChallengeEditor extends Component {
88
89
// loadChallengeTerms()
90
loadGroups()
91
loadResourceRoles()
- this.fetchProjectDetails(match, loadProject)
92
+ if (!projectDetail.terms) {
93
+ this.fetchProjectDetails(match, loadProject)
94
+ }
95
this.fetchChallengeDetails(match, loadChallengeDetails, loadResources)
96
97
// this.unlisten = this.props.history.listen(() => {
0 commit comments