mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
fix(web): albums display order again (#17117)
This commit is contained in:
parent
75df8fc10e
commit
392ce7deb2
@ -331,10 +331,10 @@ export class AssetBucket {
|
||||
|
||||
sortDateGroups() {
|
||||
if (this.#sortOrder === AssetOrder.Asc) {
|
||||
this.dateGroups.sort((a, b) => a.date.diff(b.date).milliseconds);
|
||||
return this.dateGroups.sort((a, b) => a.date.diff(b.date).milliseconds);
|
||||
}
|
||||
|
||||
this.dateGroups.sort((a, b) => b.date.diff(a.date).milliseconds);
|
||||
return this.dateGroups.sort((a, b) => b.date.diff(a.date).milliseconds);
|
||||
}
|
||||
|
||||
runAssetOperation(ids: Set<string>, operation: AssetOperation) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user