aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/services
diff options
context:
space:
mode:
authorZero~Informatique2020-09-11 20:10:56 +0200
committerG.Fouet2020-09-11 21:53:18 +0200
commitf89ed0bd94ea570d9e6533301783d13b13033db0 (patch)
tree668596be054bf064334553a32f20fc83302a51d8 /viewer/src/services
parent12b8f20f3dc1cdbda820808755545a8ce1382123 (diff)
downloadldgallery-f89ed0bd94ea570d9e6533301783d13b13033db0.tar.gz
viewer: PR #238 code review changes
Diffstat (limited to 'viewer/src/services')
-rw-r--r--viewer/src/services/itemSortFn.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/services/itemSortFn.ts b/viewer/src/services/itemSortFn.ts
index ec9942c..a7e0883 100644
--- a/viewer/src/services/itemSortFn.ts
+++ b/viewer/src/services/itemSortFn.ts
@@ -18,7 +18,7 @@
18*/ 18*/
19 19
20export default class ItemSortFn { 20export default class ItemSortFn {
21 static sortByName(left: Gallery.Item, right: Gallery.Item): number { 21 static sortByNameAsc(left: Gallery.Item, right: Gallery.Item): number {
22 return left.title.localeCompare(right.title); 22 return left.title.localeCompare(right.title);
23 } 23 }
24 24