mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
feat: Filter on all values in toogle data
This commit is contained in:
parent
d837f525bd
commit
24c616ec38
@ -16,7 +16,8 @@ export const mapStateToPropsConfigurable = isFeature => state => {
|
||||
feature =>
|
||||
regex.test(feature.name) ||
|
||||
regex.test(feature.description) ||
|
||||
feature.strategies.some(s => s && s.name && regex.test(s.name))
|
||||
feature.strategies.some(s => s && s.name && regex.test(s.name)) ||
|
||||
regex.test(JSON.stringify(feature))
|
||||
);
|
||||
} catch (e) {
|
||||
// Invalid filter regex
|
||||
|
Loading…
Reference in New Issue
Block a user