           bsSize='small'
           onSave={@onSave}
           onPublish={@onPublish}
-          isWaiting={!!(@isWaiting() and @state.publishing and _.isEmpty(@state.error))}
+          isWaiting={!!(@isWaiting() and @state.publishing and isEmpty(@state.error))}
           isSaving={!!@state.saving}
           isEditable={!!@state.isEditable}
           isPublishing={!!@state.publishing}

React = require 'react'

BS = require 'react-bootstrap'

{TaskPlanStore, TaskPlanActions} = require '../../../flux/task-plan'


          bsSize='small'
          isSavable={@isSaveable()}
          onClick={@onSave}
          isWaiting={!!(@isWaiting() and @state.saving and isEmpty(@state.error))}
          disabled={@isWaiting() or @state.error}
          isFailed={TaskPlanStore.isFailed(@props.idinde)}
        />
