Commit 2b59186d authored by JC Brand's avatar JC Brand

Don't render booleans in profile modal

parent 08684a7c
......@@ -120,7 +120,7 @@ export default (o) => {
</div>
<div class="modal-body">
<span class="modal-alert"></span>
${_converse.pluggable.plugins['converse-omemo'].enabled(_converse) && navigation}
${_converse.pluggable.plugins['converse-omemo'].enabled(_converse) && navigation || ''}
<div class="tab-content">
<div class="tab-pane active" id="profile-tabpanel" role="tabpanel" aria-labelledby="profile-tab">
<form class="converse-form converse-form--modal profile-form" action="#">
......@@ -162,7 +162,7 @@ export default (o) => {
</div>
</form>
</div>
${ _converse.pluggable.plugins['converse-omemo'].enabled(_converse) && omemo_page(o) }
${ _converse.pluggable.plugins['converse-omemo'].enabled(_converse) && omemo_page(o) || '' }
</div>
</div>
</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment