feature/comparison-slider #19

Merged
ilia merged 129 commits from feature/comparison-slider into main 2026-02-02 09:23:46 +00:00
Showing only changes of commit 59b85eead0 - Show all commits

View File

@@ -46,9 +46,6 @@ export class EntityStore<T extends Entity> {
updateOne(id: string, changes: Partial<T>) { updateOne(id: string, changes: Partial<T>) {
const entity = this.#entities.get(id); const entity = this.#entities.get(id);
if (entity) { if (entity) {
// In Svelte 5, updating the object property directly is reactive
// if the object itself was made reactive, but here we replace
// the reference to ensure top-level map triggers.
this.#entities.set(id, { ...entity, ...changes }); this.#entities.set(id, { ...entity, ...changes });
} }
} }