use ifc_file instead of IFC_File

This commit is contained in:
Ziad-I
2024-07-17 13:49:32 +03:00
committed by Dion Moult
parent 500587f267
commit 7851efd0c8
3 changed files with 4 additions and 5 deletions
@@ -61,7 +61,7 @@ function handleGanttData(data) {
console.log(data);
const filename = data["data"]["IFC_File"];
const filename = data["data"]["ifc_file"];
const ganttTasks = data["data"]["gantt_data"]["tasks"];
const ganttWorkSched = data["data"]["gantt_data"]["work_schedule"];
// const ganttWorkSched = {};
@@ -233,8 +233,7 @@ function addGanttElement(blenderId, tasks, workSched, filename) {
addEventListener("afterprint", (event) => {
g.setEditable(true);
},);
});
let css =
"@media print {\n" +
@@ -41,7 +41,7 @@ function handleBlenderDisconnect(blenderId) {
function handleCsvData(data) {
const blenderId = data["blenderId"];
const csvData = data["data"]["csv_data"];
const filename = data["data"]["IFC_File"];
const filename = data["data"]["ifc_file"];
console.log(data);
if (connectedClients.hasOwnProperty(blenderId)) {
@@ -32,7 +32,7 @@ class WebData:
@classmethod
def load(cls):
cls.data = {
"IFC_File": cls.ifc_file_name(),
"ifc_file": cls.ifc_file_name(),
}
cls.is_loaded = True