Include IFC file name
TODO: move UI routines to Stimulus
This commit is contained in:
@@ -16,7 +16,12 @@ export default class extends Controller {
|
||||
|
||||
if (event.currentTarget === this.buildingFormTarget) {
|
||||
const options = this.prepare(
|
||||
JSON.stringify({name: this.buildingTarget.value}),
|
||||
JSON.stringify(
|
||||
{
|
||||
name: this.buildingTarget.value,
|
||||
ifc: localStorage.getItem('loaded-ifc'),
|
||||
}
|
||||
),
|
||||
'POST'
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user