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
|
{{t
|
||||||
"routes.dc.peers.index.detail.imported.count"
|
"routes.dc.peers.index.detail.imported.count"
|
||||||
count=(format-number (or item.ImportedServiceCount 0))
|
count=(format-number item.ImportedServiceCount)
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
>
|
>
|
||||||
{{t
|
{{t
|
||||||
"routes.dc.peers.index.detail.exported.count"
|
"routes.dc.peers.index.detail.exported.count"
|
||||||
count=(format-number (or item.ExportedServiceCount 0))
|
count=(format-number item.ExportedServiceCount)
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@ export default class Peer extends Model {
|
||||||
@attr('string') PeerID;
|
@attr('string') PeerID;
|
||||||
|
|
||||||
@attr() PeerServerAddresses;
|
@attr() PeerServerAddresses;
|
||||||
@attr() StreamStatus;
|
|
||||||
|
|
||||||
// StreamStatus
|
// StreamStatus
|
||||||
@nullValue([]) @attr() ImportedServices;
|
@nullValue([]) @attr() ImportedServices;
|
||||||
|
|
Loading…
Reference in New Issue