Kleinere Anpassungen für Seiten- und Navigations- Bearbeitung.

This commit is contained in:
2022-05-30 15:57:11 +02:00
parent c67f712280
commit 5d08a96327
11 changed files with 32 additions and 23 deletions

View File

@@ -14,13 +14,9 @@
}
const setLanguage = (lang: string) => {
let path = $location.path.split("/")
path[1] = lang
$location.path = path.join("/")
$currentLang = lang
navigate($location.path + $location.search, { replace: true })
// $location.path = "/" + lang
// navigate($location.path + $location.search, { replace: true })
}
</script>