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

5 lines
188 B
JavaScript
Raw Normal View History

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