Skip to content

Commit

Permalink
[Fleet] Freeze unenroll_timeout field for managed policies (#103710) (#…
Browse files Browse the repository at this point in the history
…103739)

Co-authored-by: Zacqary Adam Xeper <Zacqary@users.noreply.github.com>
  • Loading branch information
kibanamachine and Zacqary authored Jun 30, 2021
1 parent f4b29da commit 1547a28
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ export const AgentPolicyForm: React.FunctionComponent<Props> = ({
<EuiFormRow fullWidth>
<EuiFieldNumber
fullWidth
disabled={agentPolicy.is_managed === true}
value={agentPolicy.unenroll_timeout}
min={1}
onChange={(e) => updateAgentPolicy({ unenroll_timeout: Number(e.target.value) })}
Expand Down

0 comments on commit 1547a28

Please sign in to comment.