Show report button when logged out (#548)

This commit is contained in:
stairman06
2022-06-22 21:33:57 -05:00
committed by GitHub
parent 69a437a1a8
commit 371f14d2e4
3 changed files with 4 additions and 4 deletions

View File

@@ -49,7 +49,9 @@
</div>
</div>
</div>
<template v-if="$auth.user && $auth.user.id !== user.id">
<template
v-if="!$auth.user || ($auth.user && $auth.user.id !== user.id)"
>
<hr class="card-divider" />
<nuxt-link
:to="`/create/report?id=${user.id}&t=user`"