]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix check listing
authorJulius Härtl <jus@bitgrid.net>
Thu, 12 Sep 2019 15:15:46 +0000 (17:15 +0200)
committerJulius Härtl <jus@bitgrid.net>
Sun, 15 Sep 2019 18:33:08 +0000 (20:33 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
apps/workflowengine/src/store.js

index a322c7fb3ead37285bd1e2056f3b60fb0ddb3e38..ad1a4d3f1bfc2e6cbd1171b11eee70156a493300 100644 (file)
@@ -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) => {