From 7436340f4c54e002fdc3f3c85638c1a4a094beaf Mon Sep 17 00:00:00 2001 From: Thomas Lamant Date: Tue, 18 Nov 2025 14:37:45 +0100 Subject: [PATCH] fix: `update()` function does not return a Promise Signed-off-by: Thomas Lamant --- apps/settings/src/mixins/AppManagement.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/settings/src/mixins/AppManagement.js b/apps/settings/src/mixins/AppManagement.js index f8b53f41fbf..6f97d057756 100644 --- a/apps/settings/src/mixins/AppManagement.js +++ b/apps/settings/src/mixins/AppManagement.js @@ -255,11 +255,11 @@ export default { }, update(appId) { if (this.app?.app_api) { - this.appApiStore.updateApp(appId) + return this.appApiStore.updateApp(appId) .then(() => { rebuildNavigation() }) .catch((error) => { showError(error) }) } else { - this.$store.dispatch('updateApp', { appId }) + return this.$store.dispatch('updateApp', { appId }) .catch((error) => { showError(error) }) .then(() => { rebuildNavigation()