Skip to content

Commit 941d657

Browse files
Buckwichphilippfromme
authored andcommitted
fix: flip default of cancelRemainingInstances
1 parent 856fe0f commit 941d657

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/provider/bpmn/properties/AdHocCompletionProps.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { is, getBusinessObject } from 'bpmn-js/lib/util/ModelUtil';
22

33
import {
44
CheckboxEntry,
5+
isCheckboxEntryEdited,
56
isTextFieldEntryEdited,
6-
TextFieldEntry,
7+
TextFieldEntry
78
} from '@bpmn-io/properties-panel';
89

910
import { useService } from '../../../hooks';
@@ -32,8 +33,9 @@ export function AdHocCompletionProps(props) {
3233
{
3334
id: 'cancelRemainingInstances',
3435
component: CancelRemainingInstances,
35-
isEdited: (node) => node && !node.checked // the default value is true
36-
},
36+
37+
isEdited: isCheckboxEntryEdited
38+
}
3739
];
3840
}
3941

0 commit comments

Comments
 (0)