NPM RUN LINT

This commit is contained in:
theaubmov 2023-12-02 14:45:43 +01:00
parent 39d0cf6164
commit ab311a29fc
3 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ export default class DataObjectInterceptor extends CommandInterceptor {
}
}
});
}
}

View File

@ -150,13 +150,13 @@ function DataObjectNameTextField(props) {
const debounce = useService('debounceInput');
const setValue = (value) => {
// Update references name
const references = findDataObjectReferenceShapes(element.children, dataObject.id);
for (const ref of references) {
const stateName = ref.businessObject.dataState && ref.businessObject.dataState.name ? ref.businessObject.dataState.name : '';
const newName = stateName ? `${value} [${stateName}]` : value;
commandStack.execute('element.updateProperties', {
element: ref,
moddleElement: ref.businessObject,

View File

@ -34,7 +34,7 @@ export function DataObjectSelect(props) {
const dataObjects = findDataObjects(businessObject.$parent)
for (const dataObject of dataObjects) {
if (dataObject.$type === 'bpmn:DataObject' && dataObject.id === value) {
commandStack.execute('element.updateModdleProperties', {
element: element,
moddleElement: businessObject,