mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 08:36:34 +00:00
- Rename `Project` => `Base` - Rename `Base` => `Source` - Remove `db` from data/meta api endpoints - Add backward compatibility for old apis - Migrations for renaming table and columns Signed-off-by: Pranav C <pranavxc@gmail.com>
36 lines
996 B
Vue
36 lines
996 B
Vue
<script setup lang="ts">
|
|
import Collaborate from './Collaborate.vue'
|
|
import ShareBase from './ShareBase.vue'
|
|
|
|
const { formStatus } = storeToRefs(useShare())
|
|
|
|
onMounted(async () => {
|
|
formStatus.value = 'base-collaborate'
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div class="flex flex-col mx-4 mb-4 mt-2">
|
|
<a-tabs v-model:activeKey="formStatus">
|
|
<a-tab-pane key="base-collaborate">
|
|
<template #tab>
|
|
<div class="flex flex-row items-center text-xs px-2">
|
|
<MdiAccountPlusOutline class="mr-1" />
|
|
<div>Add Collaborators</div>
|
|
</div>
|
|
</template>
|
|
<Collaborate />
|
|
</a-tab-pane>
|
|
<a-tab-pane key="share-base" :disabled="true">
|
|
<template #tab>
|
|
<div class="flex flex-row items-center text-xs px-2">
|
|
<MdiEarth class="mr-1" />
|
|
<div data-testid="db-share-base">Share Source</div>
|
|
</div>
|
|
</template>
|
|
<ShareBase />
|
|
</a-tab-pane>
|
|
</a-tabs>
|
|
</div>
|
|
</template>
|