diff --git a/server/src/snapshot/patch_compute.rs b/server/src/snapshot/patch_compute.rs index 6ef5d36a..ec60500c 100644 --- a/server/src/snapshot/patch_compute.rs +++ b/server/src/snapshot/patch_compute.rs @@ -173,7 +173,7 @@ fn compute_children_patches<'a>( .expect("Instance did not exist in tree"); if snapshot_child.name == instance_child.name - && instance_child.class_name == instance_child.class_name + && snapshot_child.class_name == instance_child.class_name { paired_instances[*instance_index] = true; return true; @@ -327,4 +327,4 @@ mod test { assert_eq!(patch_set, expected_patch_set); } -} +} \ No newline at end of file