This commit is contained in:
Jan Prochazka
2021-01-23 07:24:46 +01:00
parent 451af5d09f
commit b9cb8c3a45
22 changed files with 127 additions and 129 deletions

View File

@@ -168,7 +168,7 @@ export class TableFormViewDisplay extends FormViewDisplay {
navigate(row) {
const formViewKey = this.extractKey(row);
this.setConfig((cfg) => ({
this.setConfig(cfg => ({
...cfg,
formViewKey,
}));
@@ -226,7 +226,7 @@ export class TableFormViewDisplay extends FormViewDisplay {
}
getChangeSetField(row, uniqueName): ChangeSetFieldDefinition {
const col = this.columns.find((x) => x.uniqueName == uniqueName);
const col = this.columns.find(x => x.uniqueName == uniqueName);
if (!col) return null;
if (!this.baseTable) return null;
if (this.baseTable.pureName != col.pureName || this.baseTable.schemaName != col.schemaName) return null;