diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-03-06 00:28:08 +0100 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-03-06 11:30:21 +0100 |
commit | 6c4a966c15c502777afd686842e2631517534921 (patch) | |
tree | 34adfc704211f69272bf6a678ef7f6e22c389483 /apps/settings/src | |
parent | db07e6a1b99300b16a588b398ead0bf06f035dee (diff) | |
download | nextcloud-server-6c4a966c15c502777afd686842e2631517534921.tar.gz nextcloud-server-6c4a966c15c502777afd686842e2631517534921.zip |
fix(settings): Disable app again if it breaks the files app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/settings/src')
-rw-r--r-- | apps/settings/src/store/apps.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/settings/src/store/apps.js b/apps/settings/src/store/apps.js index 86ac15f69a2..af77b9fc08b 100644 --- a/apps/settings/src/store/apps.js +++ b/apps/settings/src/store/apps.js @@ -198,7 +198,7 @@ const actions = { onClick: () => window.location.reload(), close: false, - } + }, ) setTimeout(function() { location.reload() @@ -207,10 +207,12 @@ const actions = { }) .catch(() => { if (!Array.isArray(appId)) { + showError(t('settings', 'Error: This app cannot be enabled because it makes the server unstable')) context.commit('setError', { appId: apps, error: t('settings', 'Error: This app cannot be enabled because it makes the server unstable'), }) + context.dispatch('disableApp', { appId }) } }) }) |