Browse Source

fix: navigation for shared base

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/6629/head
mertmit 1 year ago
parent
commit
c85253a5ce
  1. 4
      packages/nc-gui/components/general/ShareProject.vue

4
packages/nc-gui/components/general/ShareProject.vue

@ -39,9 +39,7 @@ useEventListener(document, 'keydown', async (e: KeyboardEvent) => {
const copySharedBase = async () => {
const baseUrl = getMainUrl()
navigateTo(`${baseUrl || ''}#/copy-shared-base?base=${route.params.baseId}`, {
external: true,
})
window.open(`${baseUrl || ''}#/copy-shared-base?base=${route.params.baseId}`, '_blank')
}
</script>

Loading…
Cancel
Save