Merge pull request #4582 from sbwalker/dev
remove reference to HttpContext as it is not used
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
@namespace Oqtane.Themes.Controls
|
||||
@using System.Net
|
||||
@using Microsoft.AspNetCore.Http
|
||||
@inherits ThemeControlBase
|
||||
@inject ISettingService SettingService
|
||||
@inject IStringLocalizer<Search> Localizer
|
||||
@ -40,9 +39,6 @@
|
||||
[Parameter]
|
||||
public string SearchResultPagePath { get; set; } = "search"; // setting to "" will disable search
|
||||
|
||||
[CascadingParameter]
|
||||
HttpContext HttpContext { get; set; }
|
||||
|
||||
[SupplyParameterFromForm(FormName = "SearchForm")]
|
||||
public string KeyWords { get => ""; set => _keywords = value; }
|
||||
|
||||
|
Reference in New Issue
Block a user