consul/ui/packages/consul-ui/app/search/predicates/policy.js

5 lines
206 B
JavaScript
Raw Normal View History

export default {
Name: (item, value) => item.Name.toLowerCase().indexOf(value.toLowerCase()) !== -1,
Description: (item, value) => item.Description.toLowerCase().indexOf(value.toLowerCase()) !== -1,
};