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.
26 lines
545 B
26 lines
545 B
<script setup lang="ts"> |
|
import { useProject } from '~/composables/project' |
|
import { useTabs } from '~/composables/tabs' |
|
|
|
const { tables } = useProject() |
|
const { addTab } = useTabs() |
|
</script> |
|
|
|
<template> |
|
<div> |
|
<v-list density="medium"> |
|
<v-list-item |
|
v-for="table in tables" class="p-2 text-sm pointer" |
|
@click="addTab({ type: 'table', title: table.title, id: table.id })" |
|
> |
|
{{ table.title }} |
|
</v-list-item> |
|
</v-list> |
|
</div> |
|
</template> |
|
|
|
<style scoped> |
|
.pointer{ |
|
cursor: pointer; |
|
} |
|
</style>
|
|
|