Include IFC file name

TODO: move UI routines to Stimulus
This commit is contained in:
2025-04-02 17:29:54 +02:00
parent 34d1506483
commit 96bb0388a8
4 changed files with 12 additions and 1 deletions

View File

@@ -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'
);