Browse Source

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

Closes #17571
kay delaney 6 năm trước cách đây
mục cha
commit
d6ee96ee64
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      public/app/features/explore/AdHocFilterField.tsx

+ 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>
           );