From 7c964c29d487b5bcd2c125f81731e3b37374641a Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 1 Apr 2023 14:18:38 +0200 Subject: [PATCH] fix: return redirect --- src/views/sharing/LinkSharingAuth.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/sharing/LinkSharingAuth.vue b/src/views/sharing/LinkSharingAuth.vue index 026d151b2..98f801cd5 100644 --- a/src/views/sharing/LinkSharingAuth.vue +++ b/src/views/sharing/LinkSharingAuth.vue @@ -94,14 +94,13 @@ function useAuth() { const last = getLastVisitedRoute() if (last) { - router.push({ + return router.push({ ...last, hash, }) - return } - router.push({ + return router.push({ name: `project.${view}`, params: {projectId}, hash,