diff options
Diffstat (limited to 'apps/workflowengine/src/components/Workflow.vue')
-rw-r--r-- | apps/workflowengine/src/components/Workflow.vue | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/workflowengine/src/components/Workflow.vue b/apps/workflowengine/src/components/Workflow.vue index b4fab5a058c..452dbacc5f6 100644 --- a/apps/workflowengine/src/components/Workflow.vue +++ b/apps/workflowengine/src/components/Workflow.vue @@ -4,12 +4,15 @@ <h2>{{ t('workflowengine', 'Workflows') }}</h2> <transition-group name="slide" tag="div" class="actions"> - <Operation v-for="operation in getMainOperations" :key="operation.id" :operation="operation" + <Operation v-for="operation in getMainOperations" + :key="operation.id" + :operation="operation" @click.native="createNewRule(operation)" /> </transition-group> <div v-if="hasMoreOperations" class="actions__more"> - <button class="icon" :class="showMoreOperations ? 'icon-triangle-n' : 'icon-triangle-s'" + <button class="icon" + :class="showMoreOperations ? 'icon-triangle-n' : 'icon-triangle-s'" @click="showMoreOperations=!showMoreOperations"> {{ showMoreOperations ? t('workflowengine', 'Show less') : t('workflowengine', 'Show more') }} </button> |