import ModalBase from 'ember-cli-dunlop/mixins/modal-base' export default ModalBase.extend showAll: true workflow_groups: Ember.computed.alias "model" showTitles: Ember.computed "model.length", "title", -> return false if @get("model.length") is 1 and @get('model.firstObject.name') is @get('title') true #workflow_action_definitions: Ember.computed 'model.[]', 'showAll', -> # workflow_action_definitions = @get('model') # unless @get('showAll') # workflow_action_definitions = workflow_action_definitions.rejectBy('done') # workflow_action_definitions.sortBy('workflow_group.name', 'smart_position')