mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Removes minus button in adhoc query field (#17573)
Closes #17571
This commit is contained in:
parent
4c4c689907
commit
d6ee96ee64
@ -156,11 +156,6 @@ export class AdHocFilterField<
|
|||||||
onValueChanged={this.onValueChanged(index)}
|
onValueChanged={this.onValueChanged(index)}
|
||||||
/>
|
/>
|
||||||
{index < pairs.length - 1 && <span> AND </span>}
|
{index < pairs.length - 1 && <span> AND </span>}
|
||||||
{index < pairs.length - 1 && (
|
|
||||||
<button className="gf-form-label gf-form-label--btn" onClick={() => this.onRemoveFilter(index)}>
|
|
||||||
<i className="fa fa-minus" />
|
|
||||||
</button>
|
|
||||||
)}
|
|
||||||
{index === pairs.length - 1 && addFilterButton(this.onAddFilter)}
|
{index === pairs.length - 1 && addFilterButton(this.onAddFilter)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user