mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 09:15:35 +03:00
feat(web): improve feedback for favorite and archive actions (#7232)
This commit is contained in:
@@ -416,6 +416,10 @@ export class AssetStore {
|
||||
return nextBucket.assets[0]?.id || null;
|
||||
}
|
||||
|
||||
triggerUpdate() {
|
||||
this.emit(false);
|
||||
}
|
||||
|
||||
private emit(recalculate: boolean) {
|
||||
if (recalculate) {
|
||||
this.assets = this.buckets.flatMap(({ assets }) => assets);
|
||||
|
||||
Reference in New Issue
Block a user