they're accounts. Maybe I should rename it in the DB.

This commit is contained in:
Adam R Grey 2024-07-07 13:08:41 -04:00
parent 5eeec24069
commit 1d73fe0be8

View File

@ -81,7 +81,7 @@
<td>@(ThisChannel.SubChannels?.Count ?? 0)</td> <td>@(ThisChannel.SubChannels?.Count ?? 0)</td>
</tr> </tr>
<tr> <tr>
<th scope="row">Users</th> <th scope="row">Accounts</th>
<td>@(ThisChannel.Users?.Count ?? 0)</td> <td>@(ThisChannel.Users?.Count ?? 0)</td>
</tr> </tr>
</tbody> </tbody>
@ -109,5 +109,12 @@
console.log(channelNow); console.log(channelNow);
return channelNow; return channelNow;
} }
function getTree() {
var tree = @Html.Raw(ViewData["treeString"]);
console.log(tree);
return tree;
}
$('#tree').bstreeview({ data: getTree() });
</script> </script>
} }