Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions web-frontend/modules/database/pages/table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
}

/**
Expand Down
Loading