mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 03:56:51 +00:00
* feat: sync table init * feat: sync table (WIP) * feat: oauth flow for github * feat: sync feature flag * feat: progress for sync * feat: revise sync status * feat: incremental support for sync * feat: disable insert & delete operations on synced tables * feat: handle synced & readonly on frontend * test: apply system column order (always initial) * test: change wrong index * fix: PR requested changes * test: overlapping variable names
23 lines
431 B
Vue
23 lines
431 B
Vue
<script lang="ts" setup>
|
|
const props = defineProps<{
|
|
value: string
|
|
}>()
|
|
|
|
const emits = defineEmits(['update:value'])
|
|
|
|
const vModel = useVModel(props, 'value', emits)
|
|
|
|
const basesStore = useBases()
|
|
|
|
const baseOptions = computed(() => {
|
|
return basesStore.basesList.map((base) => ({
|
|
label: base.title,
|
|
value: base.id,
|
|
}))
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<NcSelect v-model:value="vModel" :options="baseOptions" />
|
|
</template>
|