summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/src
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-09-12 17:15:46 +0200
committerJulius Härtl <jus@bitgrid.net>2019-09-15 20:33:08 +0200
commit69ed4bb939f7176d24c36fbd1b5dad3556862f62 (patch)
tree7d3470204e189dabec4e6c0a302114597eb71403 /apps/workflowengine/src
parent978d312e69d8ae27601ed8ac0cfe7dadc6669442 (diff)
downloadnextcloud-server-69ed4bb939f7176d24c36fbd1b5dad3556862f62.tar.gz
nextcloud-server-69ed4bb939f7176d24c36fbd1b5dad3556862f62.zip
Fix check listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/workflowengine/src')
-rw-r--r--apps/workflowengine/src/store.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/src/store.js b/apps/workflowengine/src/store.js
index a322c7fb3ea..ad1a4d3f1bf 100644
--- a/apps/workflowengine/src/store.js
+++ b/apps/workflowengine/src/store.js
@@ -149,7 +149,7 @@ const store = new Vuex.Store({
*/
getChecksForEntity(state) {
return (entity) => {
- return state.checks
+ return Object.values(state.checks)
.filter((check) => check.supportedEntities.indexOf(entity) > -1 || check.supportedEntities.length === 0)
.map((check) => state.plugins.checks[check.id])
.reduce((obj, item) => {