mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 02:16:48 +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>
25 lines
741 B
Vue
25 lines
741 B
Vue
<script lang="ts" setup>
|
|
import { storeToRefs } from 'pinia'
|
|
|
|
const { base } = storeToRefs(useBase())
|
|
</script>
|
|
|
|
<template>
|
|
<div v-if="!base || !base.sources"></div>
|
|
<template v-else-if="base.sources.length === 1">
|
|
<DashboardSettingsUIAcl :source-id="base.sources[0].id" class="mt-6" />
|
|
</template>
|
|
<a-tabs v-else class="w-full">
|
|
<a-tab-pane v-for="source of base.sources" :key="source.id">
|
|
<template #tab>
|
|
<div class="tab-title" data-testid="proj-view-tab__all-tables">
|
|
<div class="capitalize">{{ source.alias ?? 'Default' }}</div>
|
|
</div>
|
|
</template>
|
|
<DashboardSettingsUIAcl :source-id="source.id" class="mt-6" />
|
|
</a-tab-pane>
|
|
</a-tabs>
|
|
</template>
|
|
|
|
<style scoped></style>
|