From f9e95703be7dd90efa0259b707f7cf0165816396 Mon Sep 17 00:00:00 2001 From: Savorboard Date: Sun, 24 Sep 2017 21:56:09 +0800 Subject: [PATCH] update NodePage.cshtml --- src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml | 8 ++++---- src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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)); + //}