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.
2 parents ffc6d3e + 843ef64 commit 6fd3c2fCopy full SHA for 6fd3c2f
src/projects/detail/containers/ProjectAddPhaseContainer.jsx
@@ -125,13 +125,14 @@ class ProjectAddPhaseContainer extends React.Component {
125
126
render() {
127
const props = this.props
128
+ const nonAddOnProductTemplates = _.filter(props.allProductTemplates, pt => !pt.isAddOn)
129
130
return (
131
<EnhancedCreateView
132
{...this.props}
133
onCancel={this.closeWizard}
134
showModal
- productTemplates={props.allProductTemplates}
135
+ productTemplates={nonAddOnProductTemplates}
136
onProductTemplateChange={this.updateProductTemplate}
137
/>
138
)
0 commit comments