From d7753eceeefec64b79a139125aedf0a3e92276b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 29 May 2018 22:53:35 +0200 Subject: [PATCH] Rebuild navigation on changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- settings/src/components/appManagement.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/settings/src/components/appManagement.vue b/settings/src/components/appManagement.vue index a78259ab1a..06df59b32b 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)}); } }