Skip to content

Commit

Permalink
Merge pull request #4827 from leigh-pointer/Search-4824
Browse files Browse the repository at this point in the history
Fix: for Disabling search does not hide search icon #4824
  • Loading branch information
sbwalker authored Nov 14, 2024
2 parents b694836 + aaaf568 commit 23597eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Oqtane.Client/Modules/Admin/Search/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
{
var settings = await SettingService.GetSiteSettingsAsync(PageState.Site.SiteId);
settings = SettingService.SetSetting(settings, "Search_SearchProvider", _searchProvider);
settings = SettingService.SetSetting(settings, "Search_Enabled", _enabled, true);
settings = SettingService.SetSetting(settings, "Search_Enabled", _enabled);
settings = SettingService.SetSetting(settings, "Search_LastIndexedOn", _lastIndexedOn, true);
settings = SettingService.SetSetting(settings, "Search_IgnorePages", _ignorePages, true);
settings = SettingService.SetSetting(settings, "Search_IgnoreEntities", _ignoreEntities, true);
Expand Down

0 comments on commit 23597eb

Please sign in to comment.