{{on-window 'resize' (action this.calculate)}}
{{#if (gt @topology.Downstreams.length 0)}}

{{@dc}}

Only showing downstreams within the current datacenter for {{@service.Service.Service}}.
{{#each @topology.Downstreams as |item|}} {{/each}}
{{/if}}
{{@service.Service.Service}}
{{#if this.hasMetricsProvider }} {{#if (not-eq @service.Service.Kind 'ingress-gateway')}} {{/if}} {{/if}}
{{#if (gt @topology.Upstreams.length 0)}}
{{#each-in (group-by "Datacenter" @topology.Upstreams) as |dc upstreams|}}

{{dc}}

{{#each upstreams as |item|}} {{/each}}
{{/each-in}}
{{/if}}