diff --git a/src/store/utilities/importFloorplan.js b/src/store/utilities/importFloorplan.js index 780808cd..7dcdcdcb 100644 --- a/src/store/utilities/importFloorplan.js +++ b/src/store/utilities/importFloorplan.js @@ -113,7 +113,7 @@ export default function importFloorplan(context, payload) { let largestId = 0; forEachNestedProp(payload, (k, v) => { if (k && k === 'id' && (+v > largestId)) { - largestId = v; + largestId = +v; } });