diff options
Diffstat (limited to 'settings/src/store/apps.js')
-rw-r--r-- | settings/src/store/apps.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/settings/src/store/apps.js b/settings/src/store/apps.js index e6788faa029..97d7aaa6cb0 100644 --- a/settings/src/store/apps.js +++ b/settings/src/store/apps.js @@ -205,7 +205,12 @@ const actions = { } }) .catch((error) => { - context.commit('setError', {appId: apps, error: t('settings', 'Error: This app can not be enabled because it makes the server unstable')}); + if (!Array.isArray(appId)) { + context.commit('setError', { + appId: apps, + error: t('settings', 'Error: This app can not be enabled because it makes the server unstable') + }); + } }); }) .catch((error) => { |