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

5 lines
206 B
JavaScript

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