mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: filtering environments in the project features table (#2957)
![image](https://user-images.githubusercontent.com/14320932/213686971-dc612f72-d86e-414d-afee-23856b5add1a.png) Fixes an issue where environments were not filtered correctly on the search, most likely due to some regression accidentally introduced with changes in the meantime.
This commit is contained in:
parent
96c65fc10d
commit
342a6f6cbe
@ -284,8 +284,8 @@ export const ProjectFeatureToggles = ({
|
||||
),
|
||||
sortType: 'boolean',
|
||||
filterName: name,
|
||||
filterParsing: (value: any) =>
|
||||
value.enabled ? 'enabled' : 'disabled',
|
||||
filterParsing: (value: boolean) =>
|
||||
value ? 'enabled' : 'disabled',
|
||||
})),
|
||||
{
|
||||
id: 'Actions',
|
||||
|
Loading…
Reference in New Issue
Block a user