modified: serv_nginx/bbvue/src/views/Profile.vue

upload avatar delete from profile page
This commit is contained in:
2025-10-17 10:12:29 +05:00
parent 3f88a78144
commit 1234090ffd
-5
View File
@@ -15,7 +15,6 @@
👤
</div>
</div>
<AvatarUpload :user="user" @avatar-updated="onAvatarUpdated" />
</div>
<h2>{{ user.firstName }} {{ user.lastName }}</h2>
@@ -196,14 +195,10 @@
<script>
import { useAuthStore } from '../stores/auth'
import { useUserStore } from '../stores/user'
import AvatarUpload from '../components/AvatarUpload.vue'
export default {
// eslint-disable-next-line vue/multi-word-component-names
name: 'Profile',
components: {
AvatarUpload
},
setup() {
const authStore = useAuthStore()
const userStore = useUserStore()