tethys.backend/resources/js/Components/UserAvatarCurrentUser.vue
Arno Kaimbacher 080c21126b - add validator for checking languages of translated titles and description
- add notification messages via notiwind.ts
- add Project.ts
- add new component TabelPersons.vue
- add additional routes
- npm updates
2023-03-24 11:41:52 +01:00

13 lines
353 B
Vue

<script setup>
import { computed } from 'vue';
// import { usePage } from '@inertiajs/vue3'
import { usePage } from '@inertiajs/vue3';
import UserAvatar from '@/Components/UserAvatar.vue';
const userName = computed(() => usePage().props.auth?.user.name);
</script>
<template>
<UserAvatar v-bind:username="'userName'" api="initials" />
</template>