diff --git a/public/app/features/alerting/unified/components/receivers/editor/snippets.ts b/public/app/features/alerting/unified/components/receivers/editor/snippets.ts index 4038eb9857f..2230a126977 100644 --- a/public/app/features/alerting/unified/components/receivers/editor/snippets.ts +++ b/public/app/features/alerting/unified/components/receivers/editor/snippets.ts @@ -28,11 +28,11 @@ Annotations: {{ end }} `; -export const groupLabelsLoopSnippet = getKeyValueTemplate('GroupLabels'); -export const commonLabelsLoopSnippet = getKeyValueTemplate('CommonLabels'); -export const commonAnnotationsLoopSnippet = getKeyValueTemplate('CommonAnnotations'); -export const labelsLoopSnippet = getKeyValueTemplate('Labels'); -export const annotationsLoopSnippet = getKeyValueTemplate('Annotations'); +export const groupLabelsLoopSnippet = getKeyValueTemplate('GroupLabels.SortedPairs'); +export const commonLabelsLoopSnippet = getKeyValueTemplate('CommonLabels.SortedPairs'); +export const commonAnnotationsLoopSnippet = getKeyValueTemplate('CommonAnnotations.SortedPairs'); +export const labelsLoopSnippet = getKeyValueTemplate('Labels.SortedPairs'); +export const annotationsLoopSnippet = getKeyValueTemplate('Annotations.SortedPairs'); function getKeyValueTemplate(arrayName: string) { return `