ui: Send item name down to Stats to call endpoint (#9358)

* Refactor Stats and Series components

* Remove unused variable from being passed down to Stats

* Add item name to be passed down to Stats
pull/9361/head
Kenia 4 years ago committed by GitHub
parent bb8e53bbf7
commit a78566e2d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,6 +30,7 @@
@dc={{item.Datacenter}} @dc={{item.Datacenter}}
@endpoint='downstream-summary-for-service' @endpoint='downstream-summary-for-service'
@service={{@service.Service.Service}} @service={{@service.Service.Service}}
@item={{item.Name}}
@noMetricsReason={{this.noMetricsReason}} @noMetricsReason={{this.noMetricsReason}}
/> />
{{/if}} {{/if}}
@ -96,6 +97,7 @@
@dc={{item.Datacenter}} @dc={{item.Datacenter}}
@endpoint='upstream-summary-for-service' @endpoint='upstream-summary-for-service'
@service={{@service.Service.Service}} @service={{@service.Service.Service}}
@item={{item.Name}}
@noMetricsReason={{this.noMetricsReason}} @noMetricsReason={{this.noMetricsReason}}
/> />
{{/if}} {{/if}}

Loading…
Cancel
Save