Added Notifications
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import { usePage } from "@inertiajs/vue3";
|
||||
import { computed, ref } from "vue";
|
||||
import type { Flight, User, SharedProps } from "@/Types/types";
|
||||
import { Link } from "@inertiajs/vue3";
|
||||
|
||||
const props = defineProps<{
|
||||
user: User
|
||||
@@ -42,7 +43,11 @@ const follow = async () => {
|
||||
<div class="board-title-group">
|
||||
<span class="board-eyebrow">FLIGHT HISTORY</span>
|
||||
<div class="board-title-row">
|
||||
<h1 class="board-title">{{ user.name }}</h1>
|
||||
<h1 class="board-title">
|
||||
<Link :href="route('profile.view', { user: user.name })">
|
||||
{{ user.name }}
|
||||
</Link>
|
||||
</h1>
|
||||
<button
|
||||
v-if="isLoggedIn && !isOwnProfile"
|
||||
class="follow-btn"
|
||||
|
||||
Reference in New Issue
Block a user