mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
439 B
22 lines
439 B
1 year ago
|
<script lang="ts" setup>
|
||
|
import { useBase, useCopySharedBase, useRoute } from '#imports'
|
||
|
|
||
|
const route = useRoute()
|
||
|
|
||
|
const { sharedBaseId } = useCopySharedBase()
|
||
|
|
||
|
const { forcedProjectId } = storeToRefs(useBase())
|
||
|
|
||
|
onMounted(() => {
|
||
|
sharedBaseId.value = route.query.base as string
|
||
|
if (forcedProjectId?.value) forcedProjectId.value = undefined
|
||
|
navigateTo(`/`)
|
||
|
})
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div></div>
|
||
|
</template>
|
||
|
|
||
|
<style scoped></style>
|