2
0
mirror of https://github.com/status-im/consul.git synced 2025-01-25 05:00:32 +00:00
John Cowen fc7fe23b4d
ui: Fix text search for upstream instances ()
* 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 staging
2021-05-04 17:25:57 +01:00

11 lines
323 B
JavaScript

export default {
Name: item => item.Name,
Description: item => item.Description,
Policy: item => {
return (item.Policies || [])
.map(item => item.Name)
.concat((item.ServiceIdentities || []).map(item => item.ServiceName))
.concat((item.NodeIdentities || []).map(item => item.NodeName));
},
};