changed UrlParameterTemplate name for consistency
This commit is contained in:
parent
51e2e2966f
commit
01fabc8d9e
|
@ -130,7 +130,7 @@
|
||||||
private string _properties = string.Empty;
|
private string _properties = string.Empty;
|
||||||
private string _server = string.Empty;
|
private string _server = string.Empty;
|
||||||
|
|
||||||
public override string UrlParameterTemplate => "/{id}";
|
public override string UrlParametersTemplate => "/{id}";
|
||||||
public override SecurityAccessLevel SecurityAccessLevel => SecurityAccessLevel.Host;
|
public override SecurityAccessLevel SecurityAccessLevel => SecurityAccessLevel.Host;
|
||||||
|
|
||||||
protected override async Task OnInitializedAsync()
|
protected override async Task OnInitializedAsync()
|
||||||
|
|
|
@ -99,7 +99,7 @@ else
|
||||||
private List<Log> _logs;
|
private List<Log> _logs;
|
||||||
private string _retention = "";
|
private string _retention = "";
|
||||||
|
|
||||||
public override string UrlParameterTemplate => "/{level}/{function}/{rows}/{page}";
|
public override string UrlParametersTemplate => "/{level}/{function}/{rows}/{page}";
|
||||||
public override SecurityAccessLevel SecurityAccessLevel => SecurityAccessLevel.Host;
|
public override SecurityAccessLevel SecurityAccessLevel => SecurityAccessLevel.Host;
|
||||||
|
|
||||||
protected override async Task OnParametersSetAsync()
|
protected override async Task OnParametersSetAsync()
|
||||||
|
|
|
@ -50,7 +50,7 @@ namespace Oqtane.Modules
|
||||||
public virtual List<Resource> Resources { get; set; }
|
public virtual List<Resource> Resources { get; set; }
|
||||||
|
|
||||||
// url parameters
|
// url parameters
|
||||||
public virtual string UrlParameterTemplate { get; set; }
|
public virtual string UrlParametersTemplate { get; set; }
|
||||||
|
|
||||||
public Dictionary<string, string> UrlParameters {
|
public Dictionary<string, string> UrlParameters {
|
||||||
get
|
get
|
||||||
|
@ -58,7 +58,7 @@ namespace Oqtane.Modules
|
||||||
if (_urlparametersstate == null || _urlparametersstate != PageState.UrlParameters)
|
if (_urlparametersstate == null || _urlparametersstate != PageState.UrlParameters)
|
||||||
{
|
{
|
||||||
_urlparametersstate = PageState.UrlParameters;
|
_urlparametersstate = PageState.UrlParameters;
|
||||||
_urlparameters = GetUrlParameters(UrlParameterTemplate);
|
_urlparameters = GetUrlParameters(UrlParametersTemplate);
|
||||||
}
|
}
|
||||||
return _urlparameters;
|
return _urlparameters;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user