Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-rw-r--r--settings/src/components/appList.vue2
-rw-r--r--settings/src/store/apps.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/settings/src/components/appList.vue b/settings/src/components/appList.vue
index dd19c44d885..053c6056ba9 100644
--- a/settings/src/components/appList.vue
+++ b/settings/src/components/appList.vue
@@ -101,7 +101,7 @@ export default {
return apps.filter(app => app.installed);
}
if (this.category === 'enabled') {
- return apps.filter(app => app.active);
+ return apps.filter(app => app.active && app.installed);
}
if (this.category === 'disabled') {
return apps.filter(app => !app.active && app.installed);
diff --git a/settings/src/store/apps.js b/settings/src/store/apps.js
index 2247e68996c..c4539b14d93 100644
--- a/settings/src/store/apps.js
+++ b/settings/src/store/apps.js
@@ -90,6 +90,7 @@ const mutations = {
state.apps.find(app => app.id === appId).active = false;
state.apps.find(app => app.id === appId).groups = [];
state.apps.find(app => app.id === appId).needsDownload = true;
+ state.apps.find(app => app.id === appId).installed = false;
state.apps.find(app => app.id === appId).canUnInstall = false;
state.apps.find(app => app.id === appId).canInstall = true;
},