aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components/Rule.vue
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2019-12-19 14:58:24 +0100
committerGitHub <noreply@github.com>2019-12-19 14:58:24 +0100
commitaa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7 (patch)
tree12ad857932bd82db182531cf17b9dcbfdd4400a2 /apps/workflowengine/src/components/Rule.vue
parent5a986f02a33bd1f54fd951af7dc5a1fed02b8340 (diff)
parentec01e0a790448fff38364f629a4de4edb5d465bf (diff)
downloadnextcloud-server-aa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7.tar.gz
nextcloud-server-aa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7.zip
Merge pull request #17705 from nextcloud/dependabot/npm_and_yarn/eslint-config-nextcloud-0.1.0
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Diffstat (limited to 'apps/workflowengine/src/components/Rule.vue')
-rw-r--r--apps/workflowengine/src/components/Rule.vue18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/workflowengine/src/components/Rule.vue b/apps/workflowengine/src/components/Rule.vue
index 5bfbe48138d..bdcd4bfc0f0 100644
--- a/apps/workflowengine/src/components/Rule.vue
+++ b/apps/workflowengine/src/components/Rule.vue
@@ -58,16 +58,16 @@ import Operation from './Operation'
export default {
name: 'Rule',
components: {
- Operation, Check, Event, Actions, ActionButton
+ Operation, Check, Event, Actions, ActionButton,
},
directives: {
- Tooltip
+ Tooltip,
},
props: {
rule: {
type: Object,
- required: true
- }
+ required: true,
+ },
},
data() {
return {
@@ -76,7 +76,7 @@ export default {
error: null,
dirty: this.rule.id < 0,
checking: false,
- originalRule: null
+ originalRule: null,
}
},
computed: {
@@ -88,7 +88,7 @@ export default {
return {
title: t('workflowengine', 'The configuration is invalid'),
class: 'icon-close-white invalid',
- tooltip: { placement: 'bottom', show: true, content: this.error }
+ tooltip: { placement: 'bottom', show: true, content: this.error },
}
}
if (!this.dirty || this.checking) {
@@ -100,7 +100,7 @@ export default {
lastCheckComplete() {
const lastCheck = this.rule.checks[this.rule.checks.length - 1]
return typeof lastCheck === 'undefined' || lastCheck.class !== null
- }
+ },
},
mounted() {
this.originalRule = JSON.parse(JSON.stringify(this.rule))
@@ -161,8 +161,8 @@ export default {
this.$delete(this.rule.checks, index)
}
this.$store.dispatch('updateRule', this.rule)
- }
- }
+ },
+ },
}
</script>