right_sidebar: Add realm description for spectators.

This commit is contained in:
Aman Agrawal
2022-01-20 09:30:09 +00:00
committed by Tim Abbott
parent de411be576
commit c827c73783
5 changed files with 31 additions and 4 deletions

View File

@@ -154,6 +154,7 @@ function initialize_left_sidebar() {
function initialize_right_sidebar() {
const rendered_sidebar = render_right_sidebar({
can_invite_others_to_realm: settings_data.user_can_invite_others_to_realm(),
realm_description: page_params.realm_description,
});
$("#right-sidebar-container").html(rendered_sidebar);