           </TriggeredModalForm>
         </p>}
 
-        {if isAdmin() or 'owner' in @state.userRoles or 'collaborator' in @state.userRoles
+        {if isAdmin() or 'owner' in @props.userRoles or 'collaborator' in @props.userRoles
           <p>
             <label>
               <input type="checkbox" checked={@props.demoMode} onChange={@handleDemoModeChange} />{' '}

  getInitialState: ->
    workflow: null
    subject: null

  componentDidMount: ->
    @loadClassification @props.classification

  componentWillReceiveProps: (nextProps) ->
    unless nextProps.classification is @props.classification
      @loadClassification nextProps.classification



  getInitialState: ->
    subjectLoading: false
    expertClassification: null
    classificationQuality: NaN
    showingExpertClassification: false
