   getDefaultProps: ->
     project: null
 
-  getInitialState: -> 
+  getInitialState: ->
     error: null
     setting:
       private: false


  handleSetStatsCompletenessType: (workflow, e) ->
    workflow.update({ 'configuration.stats_completeness_type': e.target.value }).save()
      .catch((error) => 
        @setState {error}
      ).then(() => @forceUpdate())



  componentDidMount: ->
    @setState { loadingWorkflows: true }
    getWorkflowsInOrder @props.project, fields: 'active,configuration,display_name'
      .then (workflows) =>
        @setState
          workflows: workflows
