Remove Consoles
This commit is contained in:
parent
511a9c9c31
commit
84a0667ec4
|
@ -38,6 +38,10 @@ export default function DataObjectLabelEditingProvider(eventBus, canvas, directE
|
||||||
|
|
||||||
let newLabel = element.businessObject.name;
|
let newLabel = element.businessObject.name;
|
||||||
|
|
||||||
|
console.log('newLabel', newLabel);
|
||||||
|
console.log('dataObject', dataObject);
|
||||||
|
console.log('element', element);
|
||||||
|
|
||||||
commandStack.execute('element.updateModdleProperties', {
|
commandStack.execute('element.updateModdleProperties', {
|
||||||
element,
|
element,
|
||||||
moddleElement: dataObject,
|
moddleElement: dataObject,
|
||||||
|
@ -46,6 +50,8 @@ export default function DataObjectLabelEditingProvider(eventBus, canvas, directE
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
console.log('cdataObject', dataObject);
|
||||||
|
|
||||||
// Update references name
|
// Update references name
|
||||||
updateDataObjectReferencesName(element.parent, newLabel, dataObject.id, commandStack);
|
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
|
// Update the label with the data state
|
||||||
modeling.updateLabel(element, newLabel);
|
modeling.updateLabel(element, newLabel);
|
||||||
el = undefined;
|
el = undefined;
|
||||||
|
|
||||||
|
console.log('---------------------');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue