forked from adam/discord-bot-shtik
they're accounts. Maybe I should rename it in the DB.
This commit is contained in:
parent
5eeec24069
commit
1d73fe0be8
@ -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>
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user