Commit 4e1e0b90 by Torkel Ödegaard Committed by GitHub

MetricSegment: Fix metric segment UI crash in prod builds (#21053)

parent 70e38ec3
...@@ -186,6 +186,7 @@ export function metricSegment($compile: any, $sce: any, templateSrv: TemplateSrv ...@@ -186,6 +186,7 @@ export function metricSegment($compile: any, $sce: any, templateSrv: TemplateSrv
}; };
} }
/** @ngInject */
export function metricSegmentModel(uiSegmentSrv: any) { export function metricSegmentModel(uiSegmentSrv: any) {
return { return {
template: template:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment