mirror of https://github.com/hashicorp/consul
ui: Fix text search for upstream instances (#10151)
* ui: Fix text search for upstream instances * Clean up predicates for other model types * Add some docs around DataCollection and searching * Enable UI Engineering Docs for our preview sites * Use debug CSS in dev and stagingpull/10161/head
parent
4533a5e959
commit
fc7fe23b4d
@ -0,0 +1,3 @@
|
|||||||
|
```release-note:bug
|
||||||
|
ui: Fix text searching through upstream instances.
|
||||||
|
```
|
@ -1,10 +1,5 @@
|
|||||||
export default {
|
export default {
|
||||||
DestinationName: (item, value) =>
|
DestinationName: (item, value) => item.DestinationName,
|
||||||
item.DestinationName.toLowerCase().indexOf(value.toLowerCase()) !== -1,
|
LocalBindAddress: (item, value) => item.LocalBindAddress,
|
||||||
LocalBindAddress: (item, value) =>
|
LocalBindPort: (item, value) => item.LocalBindPort.toString(),
|
||||||
item.LocalBindAddress.toLowerCase().indexOf(value.toLowerCase()) !== -1,
|
|
||||||
LocalBindPort: (item, value) =>
|
|
||||||
item.LocalBindPort.toString()
|
|
||||||
.toLowerCase()
|
|
||||||
.indexOf(value.toLowerCase()) !== -1,
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in new issue