commit 0201ea023def966afa5d56e5b2c376e683e50f3a
parent 51d28cbb6d05fa41ba5de690371f941a102b7f24
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Fri, 23 Aug 2024 14:36:54 -0700
Fix removeData's call to addDiff
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/files/floorplans/floorplan/backend.js b/files/floorplans/floorplan/backend.js
@@ -433,7 +433,7 @@ export class FloorplanBackend {
}
if (!options.nodiff) {
- this.addDiff("remove", diffPath(type, key), null, this.cache[type][key], options)
+ this.history.addDiff("remove", diffPath(type, key), null, this.cache[type][key], options)
}
delete this.cache[type][key]
}