From 69ed4bb939f7176d24c36fbd1b5dad3556862f62 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Thu, 12 Sep 2019 17:15:46 +0200 Subject: Fix check listing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/workflowengine/src/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/workflowengine/src') 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) => { -- cgit v1.2.3