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

View File

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