mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Fleet UI: Remove team policy stale time, remove team policy automation statetime (#9226)
This commit is contained in:
parent
d4bf6fd428
commit
b8965da82c
1
changes/9218-fix-team-policies-stale-time
Normal file
1
changes/9218-fix-team-policies-stale-time
Normal file
@ -0,0 +1 @@
|
||||
- Remove stale time from loading team policies/policy automation so users are provided accurate team data when toggling between teams
|
@ -131,7 +131,6 @@ const ManagePolicyPage = ({
|
||||
setTeamPolicies(data.policies);
|
||||
setInheritedPolicies(data.inherited_policies);
|
||||
},
|
||||
staleTime: 5000,
|
||||
}
|
||||
);
|
||||
|
||||
@ -167,7 +166,6 @@ const ManagePolicyPage = ({
|
||||
{
|
||||
enabled: !!teamId && canAddOrDeletePolicy,
|
||||
select: (data) => data.team,
|
||||
staleTime: 5000,
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user