Update imported/export count on peers

Api has changed we need to adjust accordingly.
This commit is contained in:
Michael Klein 2022-10-11 16:56:12 +02:00
parent 40e18c0e45
commit ebf7c91b11
2 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -22,7 +22,6 @@ export default class Peer extends Model {
@attr('string') PeerID;
@attr() PeerServerAddresses;
@attr() StreamStatus;
// StreamStatus
@nullValue([]) @attr() ImportedServices;