mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 23:42:07 +01:00
Refactor tab change handling to use router.replace for URL updates in GameDetails component
This commit is contained in:
@@ -130,7 +130,7 @@ onBeforeMount(async () => {
|
||||
|
||||
// Watch for tab changes and update URL
|
||||
watch(tab, (newTab) => {
|
||||
router.push({
|
||||
router.replace({
|
||||
path: route.path,
|
||||
query: {
|
||||
...route.query,
|
||||
|
||||
Reference in New Issue
Block a user