remove A/B testing logic for stylesheets - discard root component approach in favor of legacy JS Interop approach to eliminate FOUC issues

This commit is contained in:
sbwalker
2023-06-25 08:39:12 -04:00
parent 1e18d913e0
commit ce6647a84a
3 changed files with 34 additions and 55 deletions

View File

@ -19,12 +19,7 @@ namespace Oqtane.Themes.Controls
{
if (page.IsClickable)
{
var url = string.IsNullOrEmpty(page.Url) ? NavigateUrl(page.Path) : page.Url;
if (PageState.QueryString.ContainsKey("method"))
{
url += ((url.Contains("?")) ? "&" : "?") + "method=" + PageState.QueryString["method"];
}
return url;
return string.IsNullOrEmpty(page.Url) ? NavigateUrl(page.Path) : page.Url;
}
else
{