mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(web): improve feedback for favorite and archive actions (#7232)
This commit is contained in:
parent
b3c7bebbd4
commit
b896d45ee7
11 changed files with 24 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue