mirror of https://github.com/status-im/consul.git
Update imported/export count on peers
Api has changed we need to adjust accordingly.
This commit is contained in:
parent
40e18c0e45
commit
ebf7c91b11
|
@ -30,7 +30,7 @@
|
|||
>
|
||||
{{t
|
||||
"routes.dc.peers.index.detail.imported.count"
|
||||
count=(format-number (or item.ImportedServiceCount 0))
|
||||
count=(format-number item.ImportedServiceCount)
|
||||
}}
|
||||
</div>
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
>
|
||||
{{t
|
||||
"routes.dc.peers.index.detail.exported.count"
|
||||
count=(format-number (or item.ExportedServiceCount 0))
|
||||
count=(format-number item.ExportedServiceCount)
|
||||
}}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -22,7 +22,6 @@ export default class Peer extends Model {
|
|||
@attr('string') PeerID;
|
||||
|
||||
@attr() PeerServerAddresses;
|
||||
@attr() StreamStatus;
|
||||
|
||||
// StreamStatus
|
||||
@nullValue([]) @attr() ImportedServices;
|
||||
|
|
Loading…
Reference in New Issue