mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fix remove default sorting on the fist column
This commit is contained in:
committed by
Mario Romano
parent
b0749e9ed3
commit
d905aaa0cf
@@ -74,8 +74,6 @@ export class ObjectDataTableAdapter implements DataTableAdapter {
|
||||
let sortable = this._columns.filter(c => c.sortable);
|
||||
if (sortable.length > 0) {
|
||||
this.sort(sortable[0].key, 'asc');
|
||||
} else {
|
||||
this.sort(this._columns[0].key, 'asc');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user