From 1d73fe0be805adb31750f363a2d2b1cb55f44516 Mon Sep 17 00:00:00 2001 From: Adam R Grey Date: Sun, 7 Jul 2024 13:08:41 -0400 Subject: [PATCH] they're accounts. Maybe I should rename it in the DB. --- WebInterface/Views/Channels/Details.cshtml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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