mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 12:43:58 +00:00
fix
This commit is contained in:
@@ -42,6 +42,8 @@
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// $: console.log('$dbInfo?.tables', $dbInfo?.tables);
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<FormProvider>
|
<FormProvider>
|
||||||
@@ -76,7 +78,7 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-5 mr-1">
|
<div class="col-5 mr-1">
|
||||||
Base column - {$tableInfo.pureName}
|
Base column - {$tableInfo?.pureName}
|
||||||
</div>
|
</div>
|
||||||
<div class="col-5 ml-1">
|
<div class="col-5 ml-1">
|
||||||
Ref column - {refTableName || '(table not set)'}
|
Ref column - {refTableName || '(table not set)'}
|
||||||
@@ -91,7 +93,7 @@
|
|||||||
value={column.columnName}
|
value={column.columnName}
|
||||||
isNative
|
isNative
|
||||||
notSelected
|
notSelected
|
||||||
options={$tableInfo.columns.map(col => ({
|
options={($tableInfo?.columns || []).map(col => ({
|
||||||
label: col.columnName,
|
label: col.columnName,
|
||||||
value: col.columnName,
|
value: col.columnName,
|
||||||
}))}
|
}))}
|
||||||
|
|||||||
Reference in New Issue
Block a user