mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 01:55:59 +00:00
column editor
This commit is contained in:
@@ -35,4 +35,13 @@
|
||||
|
||||
</script>
|
||||
|
||||
<TableEditor tableInfo={showTable} setTableInfo={objectTypeField == 'tables' ? setEditorData : null} />
|
||||
<TableEditor
|
||||
tableInfo={showTable}
|
||||
setTableInfo={objectTypeField == 'tables'
|
||||
? tableInfoUpdater =>
|
||||
setEditorData(tbl => {
|
||||
if (tbl) return tableInfoUpdater(tbl);
|
||||
return tableInfoUpdater(tableInfoWithGroupId);
|
||||
})
|
||||
: null}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user