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

5 lines
188 B
JavaScript

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