mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-28 22:25:53 +00:00
22 lines
439 B
Vue
22 lines
439 B
Vue
<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>
|