Fix tslint error

This commit is contained in:
Svetoslav Tsenov
2017-05-15 00:17:31 +03:00
parent 3102385f54
commit 8882732b37

View File

@ -147,8 +147,12 @@ export class MainPageViewModel extends observable.Observable {
})
arrayOfKeys.sort((a, b) => {
if (a < b) return -1;
if (a > b) return 1;
if (a < b) {
return -1;
}
if (a > b) {
return 1;
}
return a.localeCompare(b);
})