www.spaceplanner.app

Web client to the spaceplanner API
git clone git://jacobedwards.org/www.spaceplanner.app
Log | Files | Refs

commit 85aabc5a4928630a25f0521c88d8150b10ea1373
parent 8f85f6b4833a1072ce764edb29e2247451a9a844
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Tue, 10 Sep 2024 12:45:49 -0700

Log newID and remove trailing whitespace

Diffstat:
Mfiles/floorplans/floorplan/backend.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/files/floorplans/floorplan/backend.js b/files/floorplans/floorplan/backend.js @@ -811,7 +811,7 @@ export class FloorplanBackend { remapIDsValue(value, newids) { value = structuredClone(value) let keys = ['a', 'b', 'furniture_id'] - + for (let i in keys) { let id = value[keys[i]] if (id == null) { @@ -880,6 +880,7 @@ export class FloorplanBackend { newID(type, serverID) { let local = uniqueKey(type + "_", this.serverIDs) + console.debug("Backend.newID", local) if (serverID != null) { this.mapID(local, serverID) }