mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3196] fixed selection of first tasklist element (#3491)
* [ADF-3196] [Task list / Process list] - The 'Task details' are not displayed for the selected Task * * After rebase * [ADF-3196] fixed selection for fist element
This commit is contained in:
@@ -257,7 +257,8 @@ export class TaskListComponent extends DataTableSchema implements OnChanges, Aft
|
|||||||
dataRow = this.rows.find((currentRow: any) => {
|
dataRow = this.rows.find((currentRow: any) => {
|
||||||
return currentRow['id'] === taskIdSelected;
|
return currentRow['id'] === taskIdSelected;
|
||||||
});
|
});
|
||||||
} else if (this.selectFirstRow) {
|
}
|
||||||
|
if (!dataRow && this.selectFirstRow) {
|
||||||
dataRow = this.rows[0];
|
dataRow = this.rows[0];
|
||||||
}
|
}
|
||||||
if (dataRow) {
|
if (dataRow) {
|
||||||
|
Reference in New Issue
Block a user