diff --git a/src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml b/src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml index 17e1e38..2fca094 100644 --- a/src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml +++ b/src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml @@ -5,10 +5,10 @@ @inherits RazorPage @{ Layout = new LayoutPage(Strings.NodePage_Title); - if (CurrentNodeId != null) - { - Session.Set("cap_current_node",System.Text.Encoding.Default.GetBytes(CurrentNodeId)); - } + //if (CurrentNodeId != null) + //{ + // Session.Set("cap_current_node",System.Text.Encoding.Default.GetBytes(CurrentNodeId)); + //} }
diff --git a/src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs b/src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs index ef1b43e..e968fd9 100644 --- a/src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs +++ b/src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs @@ -54,10 +54,10 @@ WriteLiteral("\r\n"); #line 6 "..\..\Dashboard\Pages\NodePage.cshtml" Layout = new LayoutPage(Strings.NodePage_Title); - if (CurrentNodeId != null) - { - Session.Set("cap_current_node",System.Text.Encoding.Default.GetBytes(CurrentNodeId)); - } + //if (CurrentNodeId != null) + //{ + // Session.Set("cap_current_node",System.Text.Encoding.Default.GetBytes(CurrentNodeId)); + //}