From 45890000ba72881413745f2b18b390954212044d Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 29 Aug 2022 13:56:18 +0530 Subject: [PATCH] refactor(gui-v2): replace with hash based url Signed-off-by: Pranav C --- .../nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue | 2 +- packages/nc-gui-v2/components/tabs/auth/UserManagement.vue | 2 +- .../components/tabs/auth/user-management/ShareBase.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue b/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue index 513f7429bb..a83cec905d 100644 --- a/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue +++ b/packages/nc-gui-v2/components/smartsheet-toolbar/SharedViewList.vue @@ -103,7 +103,7 @@ const deleteLink = async (id: string) => { diff --git a/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue b/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue index c888571b86..a8d8760d7e 100644 --- a/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue +++ b/packages/nc-gui-v2/components/tabs/auth/UserManagement.vue @@ -137,7 +137,7 @@ const resendInvite = async (user: User) => { const copyInviteUrl = (user: User) => { if (!user.invite_token) return - copy(`${dashboardUrl}/signup/${user.invite_token}`) + copy(`${dashboardUrl}#/signup/${user.invite_token}`) message.success('Invite url copied to clipboard') } diff --git a/packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue b/packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue index 618a18f6f2..b33703de8f 100644 --- a/packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue +++ b/packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue @@ -26,7 +26,7 @@ const { project } = useProject() const { copy } = useClipboard() -const url = $computed(() => (base && base.uuid ? `${dashboardUrl}/base/${base.uuid}` : null)) +const url = $computed(() => (base && base.uuid ? `${dashboardUrl}#/base/${base.uuid}` : null)) const loadBase = async () => { try {