modified: serv_nginx/bbvue/src/views/Profile.vue
upload avatar delete from profile page
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user