client: refactor user-preview to composition api #95
Loading…
Reference in a new issue
No description provided.
Delete branch "refactor/user-preview"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -23,3 +23,3 @@
</div>
</div>
<MkFollowButton v-if="$i && user.id != $i.id" class="koudoku-button" :user="user" mini/>
<MkFollowButton v-if="user.id != $i?.id" class="koudoku-button" :user="user" mini/>
I think this change is not correct because we do not want to show a follow button to users that are not logged in. Hence we also explicitly check whether
$i == null
which would indicate not being logged in.775a5ba668
toa6c1bdafe6
merged in
20f45e0179
Pull request closed