mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
console log error in sorting
This commit is contained in:
parent
dfbefa2ce5
commit
e551aa417b
@ -154,6 +154,15 @@ export class DataTableComponentPage {
|
||||
sortedList = sortedList.reverse();
|
||||
}
|
||||
|
||||
if (initialList.toString() !== sortedList.toString()) {
|
||||
// tslint:disable-next-line:no-console
|
||||
console.log('Wrong order');
|
||||
// tslint:disable-next-line:no-console
|
||||
console.log('List' + initialList.toString());
|
||||
// tslint:disable-next-line:no-console
|
||||
console.log('sortedList sortedList' + sortedList.toString());
|
||||
}
|
||||
|
||||
deferred.fulfill(initialList.toString() === sortedList.toString());
|
||||
});
|
||||
return deferred.promise;
|
||||
|
Loading…
x
Reference in New Issue
Block a user