Skip to content

Commit

Permalink
Add clarifying comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kpollich committed Jul 5, 2022
1 parent 6bd8326 commit 78f7eec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x-pack/plugins/fleet/public/hooks/use_fleet_status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ interface FleetStatusState {

interface FleetStatus extends FleetStatusState {
refresh: () => Promise<void>;

// This flag allows us to opt into displaying the Fleet Server enrollment instructions even if
// a healthy Fleet Server has been detected, so we can delay removing the enrollment UI until
// some user action like clicking a "continue" button
forceDisplayInstructions: boolean;
setForceDisplayInstructions: React.Dispatch<boolean>;
}
Expand Down

0 comments on commit 78f7eec

Please sign in to comment.