Skip to content

Commit

Permalink
axiom search visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Kateryna Honchar committed Jul 14, 2022
1 parent 31b47ed commit 34a7952
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@ protected void menuItemSelected(AjaxRequestTarget target, SearchBoxModeType sear

@Override
public IModel<Boolean> isMenuItemVisible(SearchBoxModeType searchBoxModeType) {
if (SearchBoxModeType.AXIOM_QUERY.equals(searchBoxModeType)) {
return Model.of(WebModelServiceUtils.isEnableExperimentalFeature(getPageBase())
&& getSearchConfigurationWrapper().getAllowedModeList().contains(searchBoxModeType));
}
return Model.of(getSearchConfigurationWrapper().getAllowedModeList().contains(searchBoxModeType));
}

Expand Down

0 comments on commit 34a7952

Please sign in to comment.