diff options
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/src/store.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/workflowengine/src/store.js b/apps/workflowengine/src/store.js index 7cb1956b6ff..c02aa99f63a 100644 --- a/apps/workflowengine/src/store.js +++ b/apps/workflowengine/src/store.js @@ -114,7 +114,9 @@ const store = new Vuex.Store({ context.commit('removeRule', rule) }, async pushUpdateRule(context, rule) { - await confirmPassword() + if (context.state.scope === 0) { + await confirmPassword() + } let result if (rule.id < 0) { result = await axios.post(getApiUrl(''), rule) |