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

Commit 08a6aef

Browse files
committed
SORMAS-Foundation#3354 add click-listener on apply button
1 parent e5bb6ee commit 08a6aef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sormas-ui/src/main/java/de/symeda/sormas/ui/dashboard/DashboardFilterLayout.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ private void createResetAndApplyButtons() {
165165
Button.ClickListener applyListener = e -> dashboardView.refreshDashboard();
166166
applyButton = ButtonHelper.createButton(Captions.actionApplyFilters, applyListener, CssStyles.BUTTON_FILTER_LIGHT);
167167
applyButton.setClickShortcut(ShortcutAction.KeyCode.ENTER);
168+
applyButton.addClickListener(e -> {
169+
getDateFilterChangeCallback().run();
170+
});
168171
addComponent(applyButton);
169172
}
170173

0 commit comments

Comments
 (0)