Skip to content

Commit

Permalink
Fleet UI: Fix policy automation truncation when selecting auto-instal…
Browse files Browse the repository at this point in the history
…l software
  • Loading branch information
RachelElysia committed Sep 25, 2024
1 parent 692e0fc commit 36dcdde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/22197-policy-auto-software-truncation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fleet UI: Fix policy automation truncation when selecting software to auto-install
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const InstallSoftwareModal = ({
<li
className={`${baseClass}__policy-row policy-row`}
id={`policy-row--${policyId}`}
key={policyId}
key={`${policyId}-${enabled}`} // Re-renders when modifying enabled for truncation check
>
<Checkbox
value={enabled}
Expand Down

0 comments on commit 36dcdde

Please sign in to comment.