Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit dc62ce1

Browse files
committed
3683 - make reset and apply buttons always visible
1 parent 8b52d0d commit dc62ce1

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

sormas-ui/src/main/java/de/symeda/sormas/ui/utils/AbstractFilterForm.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ private void addApplyButton() {
8383

8484
public void onChange() {
8585
hasFilter = streamFieldsForEmptyCheck(getContent()).anyMatch(f -> !f.isEmpty());
86-
getContent().getComponent(RESET_BUTTON_ID).setVisible(hasFilter);
87-
Component applyButton = getContent().getComponent(APPLY_BUTTON_ID);
88-
if (applyButton != null) {
89-
applyButton.setVisible(hasFilter);
90-
}
9186
}
9287

9388
@Override

0 commit comments

Comments
 (0)