mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-21 13:45:52 +00:00
fix(web): albums display order again (#17117)
This commit is contained in:
parent
75df8fc10e
commit
392ce7deb2
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue