Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

right_sidebar: Fix use of undefined realm_rendered_description.

Anders Kaseorgc951b728847c
diff --git a/web/templates/right_sidebar.hbs b/web/templates/right_sidebar.hbs
index 6e67baa45a8..14f99b42296 100644
--- a/web/templates/right_sidebar.hbs
+++ b/web/templates/right_sidebar.hbs
@@ -37,11 +37,13 @@
{{tooltip_hotkey_hints "?"}}
</template>
</a>
+ {{#if realm_rendered_description}}
<div class="only-visible-for-spectators">
<div class="realm-description">
<div class="rendered_markdown">{{rendered_markdown realm_rendered_description }}</div>
</div>
</div>
+ {{/if}}
</div>
</div>
</div>