mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +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