fix(settings): return router.push promise

The settings page composable function to go to a settings page now
returns the promise router.push returns.
This commit is contained in:
2026-07-28 20:10:19 +02:00
parent f6fdae6b0c
commit c2402f9360
2 changed files with 3 additions and 3 deletions
@@ -24,7 +24,7 @@ export const useSettingsPage = function useSettingsPage () {
const router = useRouter();
const goToSettingsPage = function goToSettingsPage (pagePath) {
router.push(`/settings/${normalizePagePath(pagePath)}`);
return router.push(`/settings/${normalizePagePath(pagePath)}`);
};
return { goToSettingsPage };