NPM RUN LINT
This commit is contained in:
parent
39d0cf6164
commit
ab311a29fc
|
@ -138,7 +138,7 @@ export default class DataObjectInterceptor extends CommandInterceptor {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue