summaryrefslogtreecommitdiffstats
path: root/settings/src/store
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-07-04 13:35:18 +0200
committerJulius Härtl <jus@bitgrid.net>2018-07-04 15:40:51 +0200
commit96e65c677be77315cd6b6f5a3a0819b04803ebf6 (patch)
tree02cf15194efffae756f49eca1cee73e357fc95b1 /settings/src/store
parent2f332651d3c431b4a3b24b377dc45dcd54e7efce (diff)
downloadnextcloud-server-96e65c677be77315cd6b6f5a3a0819b04803ebf6.tar.gz
nextcloud-server-96e65c677be77315cd6b6f5a3a0819b04803ebf6.zip
Hide uninstalled apps when removing them
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings/src/store')
-rw-r--r--settings/src/store/apps.js1
1 files changed, 1 insertions, 0 deletions
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;
},