diff --git a/WebInterface/Views/Channels/Details.cshtml b/WebInterface/Views/Channels/Details.cshtml index e2e1054..442089c 100644 --- a/WebInterface/Views/Channels/Details.cshtml +++ b/WebInterface/Views/Channels/Details.cshtml @@ -81,7 +81,7 @@ @(ThisChannel.SubChannels?.Count ?? 0) - Users + Accounts @(ThisChannel.Users?.Count ?? 0) @@ -109,5 +109,12 @@ console.log(channelNow); return channelNow; } + function getTree() { + var tree = @Html.Raw(ViewData["treeString"]); + console.log(tree); + return tree; + } + + $('#tree').bstreeview({ data: getTree() }); } \ No newline at end of file