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>
</div> </div>
<AvatarUpload :user="user" @avatar-updated="onAvatarUpdated" />
</div> </div>
<h2>{{ user.firstName }} {{ user.lastName }}</h2> <h2>{{ user.firstName }} {{ user.lastName }}</h2>
@@ -196,14 +195,10 @@
<script> <script>
import { useAuthStore } from '../stores/auth' import { useAuthStore } from '../stores/auth'
import { useUserStore } from '../stores/user' import { useUserStore } from '../stores/user'
import AvatarUpload from '../components/AvatarUpload.vue'
export default { export default {
// eslint-disable-next-line vue/multi-word-component-names // eslint-disable-next-line vue/multi-word-component-names
name: 'Profile', name: 'Profile',
components: {
AvatarUpload
},
setup() { setup() {
const authStore = useAuthStore() const authStore = useAuthStore()
const userStore = useUserStore() const userStore = useUserStore()