[ACA-3474] [Info Drawer] Error on save (#5791)

This commit is contained in:
dhrn
2020-06-20 19:26:41 +05:30
committed by GitHub
parent 2baae61cc5
commit 5a0ba6666d
2 changed files with 47 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ export class DataTableCellComponent implements OnInit, OnDestroy {
if (this.row) {
if (this.row['node'].entry.id === node.id) {
this.row['node'].entry = node;
this.row['cache'][this.column.key] = this.column.key.split('.').reduce((source, key) => source[key], node);
this.row['cache'][this.column.key] = this.column.key.split('.').reduce((source, key) => source ? source[key] : '', node);
this.updateValue();
}
}