[ACA-4557] Upload Dialog fixes and refactoring (#7507)

* fix random errors for versioning

* remove node deletion on upload cancel

* fix after rebase

* restore the "complete" button

* simplify e2e

* delete obsolte test
This commit is contained in:
Denys Vuika
2022-02-18 17:04:37 +00:00
committed by GitHub
parent 7c171eaf87
commit 6ccc39d0f4
10 changed files with 44 additions and 214 deletions

View File

@@ -90,7 +90,7 @@ export class DataTableCellComponent implements OnInit, OnDestroy {
this.alfrescoApiService.nodeUpdated
.pipe(takeUntil(this.onDestroy$))
.subscribe(node => {
if (this.row) {
if (this.row && node && node.id) {
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 ? source[key] : '', node);