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

          bsSize='small'
          onSave={@onSave}
          onPublish={@onPublish}
          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'
isEmpty = require 'lodash/isEmpty'

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

