mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix auto-completion snippets for KV properties (#73394)
This commit is contained in:
parent
bbef000202
commit
7bcb3597fe
@ -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 `
|
||||
|
Loading…
Reference in New Issue
Block a user