diff options
-rw-r--r-- | apps/workflowengine/src/store.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/workflowengine/src/store.js b/apps/workflowengine/src/store.js index c02aa99f63a..79524ab4514 100644 --- a/apps/workflowengine/src/store.js +++ b/apps/workflowengine/src/store.js @@ -138,7 +138,7 @@ const store = new Vuex.Store({ }, getters: { getRules(state) { - return state.rules.sort((rule1, rule2) => { + return state.rules.filter((rule) => typeof state.operations[rule.class] !== 'undefined').sort((rule1, rule2) => { return rule1.id - rule2.id || rule2.class - rule1.class }) }, |