From 24c616ec38128e6389f48a4960b5ad96afb75574 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Sat, 26 Oct 2019 22:47:48 +0200 Subject: [PATCH] feat: Filter on all values in toogle data --- frontend/src/component/feature/list-container.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/component/feature/list-container.jsx b/frontend/src/component/feature/list-container.jsx index 029a39e055..bea5b216db 100644 --- a/frontend/src/component/feature/list-container.jsx +++ b/frontend/src/component/feature/list-container.jsx @@ -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