feat: make settings menu remember your page on reload
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
Twig 2025-07-10 21:04:27 +02:00
parent f59162bad5
commit 04358e9c91
No known key found for this signature in database

View file

@ -98,6 +98,7 @@ let currentPage = ref(categories[0].pages[0]);
let selectedPage = ref(currentPage.value.displayName); // used to highlight the current channel
function selectCategory(page: Page) {
window.location.hash = page.displayName.toLowerCase()
currentPage.value = page;
selectedPage.value = page.displayName;
};