Skip to content

Commit

Permalink
npe fix for dashboard search
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jan 24, 2023
1 parent 678bf5d commit b6978e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ protected void populateItem(ListItem<E> item) {
public void onClick(AjaxRequestTarget target) {
mode.setObject(item.getModelObject());
target.add(getSearchButton());
menuItemSelected(target, null);
menuItemSelected(target, item.getModelObject());

}
};
Expand Down

0 comments on commit b6978e8

Please sign in to comment.