Skip to content

High performance self-hosted photo and video management solution.

fix(web): show tags timeline (#16617)

Alex6108587c8b31
diff --git a/web/src/lib/stores/assets-store.svelte.ts b/web/src/lib/stores/assets-store.svelte.ts
index f4cedde317..7bfaefa309 100644
--- a/web/src/lib/stores/assets-store.svelte.ts
+++ b/web/src/lib/stores/assets-store.svelte.ts
@@ -423,6 +423,12 @@ export class AssetStore {
this.setOptions(options);
return;
}
+
+ // Make sure to re-initialize if the tagId changes
+ if (this.options.tagId === options.tagId) {
+ this.setOptions(options);
+ return;
+ }
// TODO: don't call updateObjects frequently after
// init - cancelation of the initialize tasks isn't
// performed right now, and will cause issues if