File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ import classNames from 'classnames';
1313
1414import theme from './InputEditorTheme' ;
1515
16- import { getBusinessObject } from 'bpmn-js/lib/util/ModelUtil' ;
17-
1816import { getAutocompletionExtensions } from '../../utils/autocompletion' ;
1917
2018const fromPropAnnotation = Annotation . define ( ) ;
@@ -35,11 +33,7 @@ export default function InputEditor({
3533 variablesForElement = DEFAULT_VARIABLES_FOR_ELEMENT
3634} ) {
3735 const autocompletions = useMemo ( ( ) => {
38- const variablesForElementAutocompletions = variablesForElement . filter ( variable => {
39-
40- // Filter out variables originating from the element's inputs or outputs
41- return variable . origin . every ( origin => origin !== getBusinessObject ( element ) ) ;
42- } ) . map ( ( { name, detail, info } ) => ( {
36+ const variablesForElementAutocompletions = variablesForElement . map ( ( { name, detail, info } ) => ( {
4337 label : name ,
4438 type : 'variable' ,
4539 info : ( ) => getAutocompletionInfo ( info , 'Process variable' ) ,
You can’t perform that action at this time.
0 commit comments