diff --git a/app/javascript/dashboard/routes/dashboard/settings/personal/UserProfilePicture.vue b/app/javascript/dashboard/routes/dashboard/settings/personal/UserProfilePicture.vue index 0fd372dc0..489f95ecd 100644 --- a/app/javascript/dashboard/routes/dashboard/settings/personal/UserProfilePicture.vue +++ b/app/javascript/dashboard/routes/dashboard/settings/personal/UserProfilePicture.vue @@ -8,8 +8,8 @@ diff --git a/app/javascript/v3/components/Form/ProfileAvatar.vue b/app/javascript/v3/components/Form/ProfileAvatar.vue index 06c968d29..30309f549 100644 --- a/app/javascript/v3/components/Form/ProfileAvatar.vue +++ b/app/javascript/v3/components/Form/ProfileAvatar.vue @@ -108,13 +108,13 @@ const openFileInput = () => { const onImageUpload = event => { const [file] = event.target.files; - emits('change', { + emits('change-avatar', { file, url: file ? URL.createObjectURL(file) : null, }); }; const onAvatarDelete = () => { - emits('delete'); + emits('delete-avatar'); };