mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-01 07:24:19 +01:00
fix watch mode bug deleting the last interaction of a property
This commit is contained in:
@@ -57,8 +57,11 @@ impl InteractionPlan {
|
||||
i += 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
if interactions[i].contains(plan[j1][j2].to_string().as_str()) {
|
||||
if plan[j1].len() == j2 {
|
||||
i += 1;
|
||||
j1 += 1;
|
||||
j2 = 0;
|
||||
} else if interactions[i].contains(plan[j1][j2].to_string().as_str()) {
|
||||
i += 1;
|
||||
if j2 + 1 < plan[j1].len() {
|
||||
j2 += 1;
|
||||
|
||||
Reference in New Issue
Block a user