mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-28 06:35:11 +00:00
fix(nc-gui): accept ai base name from query params
This commit is contained in:
@@ -242,7 +242,7 @@ const onExcludeView = (view: any) => {
|
||||
|
||||
const finalSchema = computed(() => {
|
||||
const schema = {
|
||||
title: predictedSchema.value.title,
|
||||
title: props.initialValue?.baseName || predictedSchema.value.title,
|
||||
tables: predictedSchema.value.tables.filter((table: any) => !table.excluded),
|
||||
relationships: predictedSchema.value.relationships.filter((relationship: { from: string; to: string }) => {
|
||||
const fromTable = predictedSchema.value.tables.find((table: { title: string }) => table.title === relationship.from)
|
||||
|
||||
Reference in New Issue
Block a user