summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src/components/Check.vue
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-09-06 13:47:11 +0200
committerJulius Härtl <jus@bitgrid.net>2019-09-10 09:01:25 +0200
commitd6b3af9d776c224015f9e9d8a4d858acae6f8560 (patch)
tree967ff1a894f2d1739a30945c1ee1b57acfd3ce8d /apps/workflowengine/src/components/Check.vue
parentc665d5475affc844e583a8a546466ae27c045bb5 (diff)
downloadnextcloud-server-d6b3af9d776c224015f9e9d8a4d858acae6f8560.tar.gz
nextcloud-server-d6b3af9d776c224015f9e9d8a4d858acae6f8560.zip
Load checks from the backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
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