commit bf6876fba0878f92fb9645077ad9dab0629b20d3
parent b7c06419ad03e1284e97c08509d691874c7673e2
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Sun, 25 Aug 2024 14:03:50 -0700
Return a ref instead of an id in backend.addData()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/files/floorplans/floorplan/backend.js b/files/floorplans/floorplan/backend.js
@@ -420,7 +420,7 @@ export class FloorplanBackend {
}
this.cache[type][key] = value
- return key
+ return newRef(type, key)
}
removeData(type, key, options) {