refactor visitor cookie name into a shared constant

This commit is contained in:
Shaun Walker
2023-02-07 16:26:23 -05:00
parent 02c134bf4b
commit ffca1d2486
5 changed files with 5 additions and 4 deletions

View File

@ -237,7 +237,7 @@ else
protected override void OnAfterRender(bool firstRender)
{
if (!firstRender)
if (firstRender)
{
// external link to log item will display Details component
if (PageState.QueryString.ContainsKey("id") && int.TryParse(PageState.QueryString["id"], out int id))