in public/js/components/Workflow/Workflow.js [42:58]
UNSAFE_componentWillMount() {
WorkflowApi.getTrackableAtomTypes()
.then(atomTypes => {
this.setState({
trackableAtomTypes: atomTypes
});
if (this.state.trackableAtomTypes.includes(_.camelCase(this.props.atom.atomType))) {
WorkflowApi.getSections()
.then(sections => {
this.setState({
workflowSections: sections
});
});
}
});
}