Prechádzať zdrojové kódy

Explore: Removes minus button in adhoc query field (#17573)

Closes #17571
kay delaney 6 rokov pred
rodič
commit
d6ee96ee64

+ 0 - 5
public/app/features/explore/AdHocFilterField.tsx

@@ -156,11 +156,6 @@ export class AdHocFilterField<
                 onValueChanged={this.onValueChanged(index)}
               />
               {index < pairs.length - 1 && <span>&nbsp;AND&nbsp;</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)}
             </div>
           );