aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components/Check.vue
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workflowengine/src/components/Check.vue')
-rw-r--r--apps/workflowengine/src/components/Check.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/workflowengine/src/components/Check.vue b/apps/workflowengine/src/components/Check.vue
index bd3c471fc3c..e521dffbb29 100644
--- a/apps/workflowengine/src/components/Check.vue
+++ b/apps/workflowengine/src/components/Check.vue
@@ -50,9 +50,9 @@ export default {
}
},
computed: {
- ...mapState({
- Checks: (state) => state.plugins.checks
- }),
+ Checks() {
+ return this.$store.getters.getChecksForEntity(this.rule.entity)
+ },
operators() {
if (!this.currentOption) { return [] }
return this.Checks[this.currentOption.class].operators