summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-05-29 22:53:35 +0200
committerJulius Härtl <jus@bitgrid.net>2018-06-06 11:40:09 +0200
commitd7753eceeefec64b79a139125aedf0a3e92276b3 (patch)
tree8968d2bb2c08ac6d76c3e476c91ae3417113bffb
parent664bc37a805807b7ed7ebdf538ea1381cc61ddb9 (diff)
downloadnextcloud-server-d7753eceeefec64b79a139125aedf0a3e92276b3.tar.gz
nextcloud-server-d7753eceeefec64b79a139125aedf0a3e92276b3.zip
Rebuild navigation on changes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--settings/src/components/appManagement.vue5
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/src/components/appManagement.vue b/settings/src/components/appManagement.vue
index a78259ab1aa..06df59b32b2 100644
--- a/settings/src/components/appManagement.vue
+++ b/settings/src/components/appManagement.vue
@@ -68,22 +68,27 @@
},
enable(appId) {
this.$store.dispatch('enableApp', { appId: appId, groups: [] })
+ .then((response) => { OC.Settings.Apps.rebuildNavigation(); })
.catch((error) => { OC.Notification.show(error)});
},
disable(appId) {
this.$store.dispatch('disableApp', { appId: appId })
+ .then((response) => { OC.Settings.Apps.rebuildNavigation(); })
.catch((error) => { OC.Notification.show(error)});
},
remove(appId) {
this.$store.dispatch('uninstallApp', { appId: appId })
+ .then((response) => { OC.Settings.Apps.rebuildNavigation(); })
.catch((error) => { OC.Notification.show(error)});
},
install(appId) {
this.$store.dispatch('installApp', { appId: appId })
+ .then((response) => { OC.Settings.Apps.rebuildNavigation(); })
.catch((error) => { OC.Notification.show(error)});
},
update(appId) {
this.$store.dispatch('updateApp', { appId: appId })
+ .then((response) => { OC.Settings.Apps.rebuildNavigation(); })
.catch((error) => { OC.Notification.show(error)});
}
}