Update imported/export count on peers
Api has changed we need to adjust accordingly.
This commit is contained in:
parent
fd94a0681b
commit
9624ecadb0
|
@ -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