You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-07 23:03:36 +02:00
fix(web): albums display order again (#17117)
This commit is contained in:
@ -331,10 +331,10 @@ export class AssetBucket {
|
|||||||
|
|
||||||
sortDateGroups() {
|
sortDateGroups() {
|
||||||
if (this.#sortOrder === AssetOrder.Asc) {
|
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) {
|
runAssetOperation(ids: Set<string>, operation: AssetOperation) {
|
||||||
|
Reference in New Issue
Block a user