Skip to content

Commit

Permalink
Fix filters behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
criamico committed Mar 10, 2023
1 parent 894d318 commit 73b5255
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,7 @@ export const AgentActivityFlyout: React.FunctionComponent<{
});
setSearch(kuery);
}
if (action?.type === 'UNENROLL' || action?.type === 'FORCE_UNENROLL') {
setSelectedStatus(['unenrolled', 'inactive']);
} else setSelectedStatus([]);
setSelectedStatus(['healthy', 'unhealthy', 'updating', 'offline', 'inactive', 'unenrolled']);

onClose();
} catch (err) {
Expand Down

0 comments on commit 73b5255

Please sign in to comment.