Skip to content

Commit

Permalink
CM-145: make initial policy empty (#7)
Browse files Browse the repository at this point in the history
* CM-145: make initial policy empty

* CM-145: fix eslint
  • Loading branch information
jdolkowski authored Jul 14, 2023
1 parent 3b576c2 commit 8ba3944
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/groups-management/TaskGroupHeadPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const renderHeadPanelTitle = (classes) => (
class TaskGroupHeadPanel extends FormPanel {
render() {
const {
edited, classes, formatMessage, readOnly,
edited, classes, readOnly,
} = this.props;
const taskGroup = { ...edited };
return (
Expand All @@ -64,9 +64,8 @@ class TaskGroupHeadPanel extends FormPanel {
<GroupPolicyPicker
label="taskGroup.completionPolicy"
withLabel
nullLabel={formatMessage('defaultValue.any')}
readOnly={readOnly}
withNull
withNull={false}
value={taskGroup?.completionPolicy}
onChange={(completionPolicy) => this.updateAttribute('completionPolicy', completionPolicy)}
required
Expand Down

0 comments on commit 8ba3944

Please sign in to comment.