mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 20:46:01 +00:00
form view cleanup
This commit is contained in:
@@ -722,22 +722,10 @@ export abstract class GridDisplay {
|
||||
}
|
||||
|
||||
switchToFormView(rowIndex) {
|
||||
// if (!this.baseTable) return;
|
||||
// const { primaryKey } = this.baseTable;
|
||||
// if (!primaryKey) return;
|
||||
// const { columns } = primaryKey;
|
||||
|
||||
this.setConfig(cfg => ({
|
||||
...cfg,
|
||||
isFormView: true,
|
||||
formViewRecordNumber: rowIndex,
|
||||
// formViewKey: rowData
|
||||
// ? _.pick(
|
||||
// rowData,
|
||||
// columns.map(x => x.columnName)
|
||||
// )
|
||||
// : null,
|
||||
// formViewKeyRequested: null,
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user