Skip to content

Node.js based forum software built for the modern web

fix: handle registration not showing up in UI if there were no existing handlers registered

Julian Lama96ffb8a5894
diff --git a/src/views/modals/intents/register.tpl b/src/views/modals/intents/register.tpl
index 453f2f0db3..1c8b6742c5 100644
--- a/src/views/modals/intents/register.tpl
+++ b/src/views/modals/intents/register.tpl
@@ -18,8 +18,8 @@
</button>
</form>
- {{{ if (handles && handles.length) }}}
<hr />
+
<h6 class="mt-3">[[intents:registered-handles]]</h6>
<ul class="list-group list-group-flush" id="intents-registered-list">
{{{ each handles }}}
@@ -34,7 +34,6 @@
</li>
{{{ end }}}
</ul>
- {{{ end }}}
{{{ if (!handles || !handles.length) }}}
<p class="text-muted mt-3">[[intents:no-handles]]</p>