mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 11:04:40 -05:00
fix: correctly notify parent fields when patching
This commit is contained in:
@@ -35,8 +35,7 @@ where
|
||||
// don't track the writer for the whole store
|
||||
writer.untrack();
|
||||
let mut notify = |path: &StorePath| {
|
||||
self.get_trigger(path.to_owned()).this.notify();
|
||||
self.get_trigger(path.to_owned()).children.notify();
|
||||
self.triggers_for_path(path.to_owned()).notify();
|
||||
};
|
||||
writer.patch_field(new, &path, &mut notify);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user