www.spaceplanner.app

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

commit da616377238617ae867a85f0844c8282d2d86aec
parent cf9ff5252f06e45d1e36a051b4e986e2515314bf
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Mon, 14 Oct 2024 20:42:24 -0700

Add default value of 'wall' for pointmap object

Diffstat:
Mfiles/floorplans/floorplan/backend.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/files/floorplans/floorplan/backend.js b/files/floorplans/floorplan/backend.js @@ -503,6 +503,7 @@ export class FloorplanBackend { const m = this.updatedObject(params, id, { type: { required: true, + default: "wall", validate: function(type) { let types = backend.params.pointmaps.types for (let i = 0; i < types.length; ++i) {