mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-3368] Update datatable columns when presetColumn schema changes (#5732)
* [ACA-3368] Update datatable columns when presetColumn schema changes * [ACA-3368] Add presetColumn change detection for task list * [ACA-3368] Improve unit tests, fix comments * [ACA-3368] More unit test improvements
This commit is contained in:
@@ -181,6 +181,11 @@ export class ProcessInstanceListComponent extends DataTableSchema implements OnC
|
||||
}
|
||||
this.reload();
|
||||
}
|
||||
|
||||
const presetColumnChanges = changes['presetColumn'];
|
||||
if (presetColumnChanges && !presetColumnChanges.firstChange) {
|
||||
this.columns = this.mergeJsonAndHtmlSchema();
|
||||
}
|
||||
}
|
||||
|
||||
private isSortChanged(changes: SimpleChanges): boolean {
|
||||
|
Reference in New Issue
Block a user