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 {
|
||||
DestinationName: (item, value) =>
|
||||
item.DestinationName.toLowerCase().indexOf(value.toLowerCase()) !== -1,
|
||||
LocalBindAddress: (item, value) =>
|
||||
item.LocalBindAddress.toLowerCase().indexOf(value.toLowerCase()) !== -1,
|
||||
LocalBindPort: (item, value) =>
|
||||
item.LocalBindPort.toString()
|
||||
.toLowerCase()
|
||||
.indexOf(value.toLowerCase()) !== -1,
|
||||
DestinationName: (item, value) => item.DestinationName,
|
||||
LocalBindAddress: (item, value) => item.LocalBindAddress,
|
||||
LocalBindPort: (item, value) => item.LocalBindPort.toString(),
|
||||
};
|
||||
|
Loading…
Reference in new issue