diff options
author | Zero~Informatique | 2020-09-11 20:10:56 +0200 |
---|---|---|
committer | G.Fouet | 2020-09-11 21:53:18 +0200 |
commit | f89ed0bd94ea570d9e6533301783d13b13033db0 (patch) | |
tree | 668596be054bf064334553a32f20fc83302a51d8 /viewer/src/services | |
parent | 12b8f20f3dc1cdbda820808755545a8ce1382123 (diff) | |
download | ldgallery-f89ed0bd94ea570d9e6533301783d13b13033db0.tar.gz |
viewer: PR #238 code review changes
Diffstat (limited to 'viewer/src/services')
-rw-r--r-- | viewer/src/services/itemSortFn.ts | 2 |
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 | ||
20 | export default class ItemSortFn { | 20 | export 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 | ||