mirror of https://github.com/status-im/consul.git
ui: Allow searching for peerings by ID (#13837)
This commit is contained in:
parent
b960cb671f
commit
e2908679c6
|
@ -12,7 +12,7 @@
|
|||
state: 'state',
|
||||
searchproperty: {
|
||||
as: 'searchproperty',
|
||||
empty: [['Name']],
|
||||
empty: [['Name', 'ID']],
|
||||
},
|
||||
search: {
|
||||
as: 'filter',
|
||||
|
|
|
@ -22,6 +22,7 @@ export default class Peer extends Model {
|
|||
|
||||
@attr('string') Name;
|
||||
@attr('string') State;
|
||||
@attr('string') ID;
|
||||
@attr('number') ImportedServiceCount;
|
||||
@attr('number') ExportedServiceCount;
|
||||
@attr() PeerServerAddresses;
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
export default {
|
||||
Name: item => item.Name,
|
||||
ID: item => item.ID,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue