Skip to content

Commit

Permalink
Merge pull request #18596 from jeclrsg/hpcc-31708-zap-dialog-include-…
Browse files Browse the repository at this point in the history
…logs

HPCC-31708 ECL Watch v9 ZAP Dialog containerized log options
  • Loading branch information
GordonSmith authored May 2, 2024
2 parents b226033 + 97fbfa5 commit ca2de2c
Showing 1 changed file with 28 additions and 24 deletions.
52 changes: 28 additions & 24 deletions esp/src/src-react/components/forms/ZAPDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,30 +376,34 @@ export const ZAPDialog: React.FunctionComponent<ZAPDialogProps> = ({
/>}
/>
<div style={{ padding: "15px 0 7px 0" }}>
<div>
<Controller
control={control} name="IncludeThorSlaveLog"
render={({
field: { onChange, name: fieldName, value }
}) => <Checkbox name={fieldName} checked={value} onChange={onChange} label={nlsHPCC.IncludeSlaveLogs} />}
/>
</div>
<div style={{ marginTop: 2, marginBottom: 2 }}>
<Controller
control={control} name="IncludeRelatedLogs"
render={({
field: { onChange, name: fieldName, value }
}) => <Checkbox name={fieldName} checked={value} onChange={onChange} label={nlsHPCC.IncludeRelatedLogs} />}
/>
</div>
<div>
<Controller
control={control} name="IncludePerComponentLogs"
render={({
field: { onChange, name: fieldName, value }
}) => <Checkbox name={fieldName} checked={value} onChange={onChange} label={nlsHPCC.IncludePerComponentLogs} />}
/>
</div>
{!isContainer
? <div>
<Controller
control={control} name="IncludeThorSlaveLog"
render={({
field: { onChange, name: fieldName, value }
}) => <Checkbox name={fieldName} checked={value} onChange={onChange} label={nlsHPCC.IncludeSlaveLogs} />}
/>
</div>
: <div>
<div style={{ marginBottom: 4 }}>
<Controller
control={control} name="IncludeRelatedLogs"
render={({
field: { onChange, name: fieldName, value }
}) => <Checkbox name={fieldName} checked={value} onChange={onChange} label={nlsHPCC.IncludeRelatedLogs} />}
/>
</div>
<div>
<Controller
control={control} name="IncludePerComponentLogs"
render={({
field: { onChange, name: fieldName, value }
}) => <Checkbox name={fieldName} checked={value} onChange={onChange} label={nlsHPCC.IncludePerComponentLogs} />}
/>
</div>
</div>
}
<div style={{ paddingTop: "10px" }}>
<Controller
control={control} name="SendEmail"
Expand Down

0 comments on commit ca2de2c

Please sign in to comment.