From c79618bae2f48b8ae5da46b87cfe7c9d0f4d57eb Mon Sep 17 00:00:00 2001 From: dimmur-brw Date: Mon, 16 Feb 2026 12:06:46 +0100 Subject: [PATCH] Fix browser history for navigation between tables (#4770) --- web-frontend/modules/database/pages/table.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web-frontend/modules/database/pages/table.vue b/web-frontend/modules/database/pages/table.vue index bc61a7be1c..7cd2c5587f 100644 --- a/web-frontend/modules/database/pages/table.vue +++ b/web-frontend/modules/database/pages/table.vue @@ -179,8 +179,10 @@ if (error.value) { } if (data.value?.redirect) { - // We have a redirect, we can apply it now - await navigateTo(data.value.redirect.href) + // We have a redirect, we can apply it now. Using `replace` so the intermediate + // URL (without viewId) doesn't stay in the browser history — otherwise the back + // button would land on it and immediately redirect forward again. + await navigateTo(data.value.redirect.href, { replace: true }) } /**