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.
35 lines
996 B
35 lines
996 B
<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>
|
|
|