mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
Annotations: Fixes issue with tags filter not showing in annotation query (#45724)
This commit is contained in:
parent
ade8c18557
commit
ef3f254208
@ -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>
|
||||
</>
|
||||
|
Loading…
Reference in New Issue
Block a user