You've already forked AstralRinth
forked from didirus/AstralRinth
Fix logged in user stall (#1114)
This commit is contained in:
@@ -282,7 +282,7 @@
|
||||
Report
|
||||
</button>
|
||||
<button
|
||||
v-if="!$user.value.follows.find((x) => x.id === project.id)"
|
||||
v-if="!user.follows.find((x) => x.id === project.id)"
|
||||
class="iconified-button"
|
||||
@click="userFollowProject(project)"
|
||||
>
|
||||
@@ -290,7 +290,7 @@
|
||||
Follow
|
||||
</button>
|
||||
<button
|
||||
v-if="$user.value.follows.find((x) => x.id === project.id)"
|
||||
v-if="user.follows.find((x) => x.id === project.id)"
|
||||
class="iconified-button"
|
||||
@click="userUnfollowProject(project)"
|
||||
>
|
||||
@@ -747,6 +747,8 @@ import Breadcrumbs from '~/components/ui/Breadcrumbs.vue'
|
||||
const data = useNuxtApp()
|
||||
const route = useRoute()
|
||||
|
||||
const user = await useUser()
|
||||
|
||||
if (
|
||||
!route.params.id ||
|
||||
!(
|
||||
|
||||
Reference in New Issue
Block a user