mirror of https://github.com/status-im/consul.git
6 lines
223 B
JavaScript
6 lines
223 B
JavaScript
|
export default {
|
||
|
Name: (item, value) => item.Name.toLowerCase().indexOf(value.toLowerCase()) !== -1,
|
||
|
Tags: (item, value) =>
|
||
|
(item.Tags || []).some(item => item.toLowerCase().indexOf(value.toLowerCase()) !== -1),
|
||
|
};
|