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

{{@topology.Datacenter}}

Only showing downstreams within the current datacenter for {{@service.Service.Service}}.
{{/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-in}}
{{/if}}