forked from alemi/upub
fix(web): hide follow btns if my id or logged out
This commit is contained in:
parent
b2717223b3
commit
8f4c1a6313
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ pub fn UserPage(tl: Timeline) -> impl IntoView {
|
||||||
<td class="rev" title="followers">{followers}" "<span class="emoji">"📢"</span></td>
|
<td class="rev" title="followers">{followers}" "<span class="emoji">"📢"</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<div class="rev mr-1">
|
<div class="rev mr-1" class:hidden=move || !auth.present() || auth.user_id() == uid>
|
||||||
{if followed_by_me {
|
{if followed_by_me {
|
||||||
view! { <code class="color">following</code> }.into_view()
|
view! { <code class="color">following</code> }.into_view()
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue