Remove Consoles

This commit is contained in:
theaubmov 2023-12-02 19:36:11 +01:00
parent 511a9c9c31
commit 84a0667ec4
1 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,10 @@ export default function DataObjectLabelEditingProvider(eventBus, canvas, directE
let newLabel = element.businessObject.name;
console.log('newLabel', newLabel);
console.log('dataObject', dataObject);
console.log('element', element);
commandStack.execute('element.updateModdleProperties', {
element,
moddleElement: dataObject,
@ -46,6 +50,8 @@ export default function DataObjectLabelEditingProvider(eventBus, canvas, directE
},
});
console.log('cdataObject', dataObject);
// Update references name
updateDataObjectReferencesName(element.parent, newLabel, dataObject.id, commandStack);
@ -57,6 +63,8 @@ export default function DataObjectLabelEditingProvider(eventBus, canvas, directE
// Update the label with the data state
modeling.updateLabel(element, newLabel);
el = undefined;
console.log('---------------------');
}
});