mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Prometheus: add x icon to selected metrics (#64738)
fix: add `x` icon to selected metric
This commit is contained in:
parent
de901560d7
commit
7562a8e472
@ -225,8 +225,9 @@ export const PromQueryBuilder = React.memo<Props>((props) => {
|
||||
</Button>
|
||||
{query.metric && (
|
||||
<Tag
|
||||
name={query.metric}
|
||||
name={' ' + query.metric}
|
||||
color="#3D71D9"
|
||||
icon="times"
|
||||
onClick={() => {
|
||||
onChange({ ...query, metric: '' });
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user