mirror of
https://github.com/directus/directus.git
synced 2026-02-15 23:05:02 -05:00
Use router.replace() to prevent invalid back navigations (#9959)
This commit is contained in:
@@ -432,7 +432,7 @@ export default defineComponent({
|
||||
async function deleteAndQuit() {
|
||||
try {
|
||||
await remove();
|
||||
router.push(`/users`);
|
||||
router.replace(`/users`);
|
||||
} catch {
|
||||
// `remove` will show the unexpected error dialog
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user