[FIX] mail: correctly display Logged in as in public page

`getLoggedInAsText` is a function, due to missing brackets
the function content was dumped instead of evaluation of function.

opw-3701333

closes odoo/odoo#151600

X-original-commit: 4ce21a4207a9dd7047a6b5ec9c447f9e48ca199c
Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
This commit is contained in:
Alexandre Kühn
2024-01-29 23:16:19 +00:00
parent b8dbec3b11
commit dca2921252
@@ -32,7 +32,7 @@
<label class="text-center fs-4" >What's your name?</label>
<input class="form-control mb-3 bg-white rounded" type="text" placeholder="Your name" t-model="state.userName" t-on-keydown="onKeydownInput"/>
</t>
<p t-if="store.user" class="fs-4" t-esc="getLoggedInAsText"/>
<p t-if="store.user" class="fs-4" t-esc="getLoggedInAsText()"/>
<button class="btn btn-success fa-stack align-self-end p-0 rounded-circle fs-1 shadow" title="Join Channel" t-att-disabled="store.guest and state.userName.trim() === ''" t-on-click="joinChannel">
<i class="oi oi-arrow-right"/>
</button>