feat: front-end allow multiple base per project

Signed-off-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
mertmit
2022-09-12 22:42:37 +03:00
parent 1b369417d3
commit 8edb4e4b2c
7 changed files with 46 additions and 22 deletions

View File

@@ -32,8 +32,9 @@ export function useTable(onTableCreate?: (tableMeta: TableType) => void) {
const { loadTables } = useProject()
const { closeTab } = useTabs()
const { sqlUis, project, tables } = useProject()
const { sqlUi, project, tables } = useProject()
const sqlUi = ref(sqlUis.value[0])
const createTable = async () => {
if (!sqlUi?.value) return