From 61a41ec81303c84777b5b0fd0ca762474eccdd1b Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Sun, 26 Jul 2026 19:17:56 +0200 Subject: [PATCH] feat(settings): make settings page composable more compatible The composable now uses replace instead of replaceAll which is not supported by some old browsers. --- src/features/settings/composables/useSettingsPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/settings/composables/useSettingsPage.js b/src/features/settings/composables/useSettingsPage.js index 2205c0c..e66d73f 100644 --- a/src/features/settings/composables/useSettingsPage.js +++ b/src/features/settings/composables/useSettingsPage.js @@ -20,7 +20,7 @@ const normalizePagePath = function normalizePagePath (path) { return path .replace(/\.+/g, '.') .replace(/^\.+|\.+$/g, '') - .replaceAll('.', '/'); + .replace(/\./g, '/'); }; export const useSettingsPage = function useSettingsPage () {