(cherry picked from commit ef3f254208)
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
co-authored by
Torkel Ödegaard
parent
e85b839bc4
commit
f86e30f492
@@ -88,7 +88,7 @@ export default function AnnotationQueryEditor({ query, onChange }: Props) {
|
||||
onChange={onMaxLimitChange}
|
||||
/>
|
||||
</Field>
|
||||
{type === GrafanaAnnotationType.Tags && tags && (
|
||||
{type === GrafanaAnnotationType.Tags && (
|
||||
<>
|
||||
<Field label="Match any" description={matchTooltipContent}>
|
||||
<Switch id="grafana-annotations__match-any" value={matchAny} onChange={onMatchAnyChange} />
|
||||
@@ -100,7 +100,7 @@ export default function AnnotationQueryEditor({ query, onChange }: Props) {
|
||||
inputId="grafana-annotations__tags"
|
||||
onChange={onTagsChange}
|
||||
tagOptions={getAnnotationTags}
|
||||
tags={tags}
|
||||
tags={tags ?? []}
|
||||
/>
|
||||
</Field>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user