Browse Source

update NodePage.cshtml

master
Savorboard 7 years ago
parent
commit
f9e95703be
2 changed files with 8 additions and 8 deletions
  1. +4
    -4
      src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml
  2. +4
    -4
      src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs

+ 4
- 4
src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml View File

@@ -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));
//}
}
<div class="row">
<div class="col-md-12">


+ 4
- 4
src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs View File

@@ -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));
//}




Loading…
Cancel
Save