diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-09-09 16:04:51 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-09-10 10:01:26 +0300 |
commit | e17a6665177f6c62ce5a067d0738f11f33021a8f (patch) | |
tree | 78633b776a9c101a4879034328304a9cb434edee /apps/workflowengine/src/components/Rule.vue | |
parent | 24aec9b9d27378ab19ebe028f46f26bcf0a1b901 (diff) |
Implement custom check components and fix linting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/src/components/Rule.vue')
-rw-r--r-- | apps/workflowengine/src/components/Rule.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/workflowengine/src/components/Rule.vue b/apps/workflowengine/src/components/Rule.vue index c5c6094879a..76d332ac414 100644 --- a/apps/workflowengine/src/components/Rule.vue +++ b/apps/workflowengine/src/components/Rule.vue @@ -5,9 +5,10 @@ <span>{{ t('workflowengine', 'When') }}</span> <Event :rule="rule" @update="updateRule" /> </p> - <p v-for="check in rule.checks"> + <p v-for="(check, index) in rule.checks" :key="index"> <span>{{ t('workflowengine', 'and') }}</span> - <Check :check="check" :rule="rule" @update="updateRule" @remove="removeCheck(check)" /> + <Check :check="check" :rule="rule" @update="updateRule" + @remove="removeCheck(check)" /> </p> <p> <span /> @@ -15,7 +16,7 @@ value="Add a new filter" @click="rule.checks.push({class: null, operator: null, value: null})"> </p> </div> - <div class="flow-icon icon-confirm"></div> + <div class="flow-icon icon-confirm" /> <div class="action"> <div class="buttons"> <Actions> @@ -32,7 +33,7 @@ @input="updateOperation" /> </Operation> <button v-tooltip="ruleStatus.tooltip" class="status-button icon" :class="ruleStatus.class" - @click="saveRule"> + @click="saveRule"> {{ ruleStatus.title }} </button> </div> @@ -245,5 +246,4 @@ export default { } } - </style> |