diff --git a/frontend/src/views/profile/ProfilePage.vue b/frontend/src/views/profile/ProfilePage.vue index fddae1a..9930a4f 100644 --- a/frontend/src/views/profile/ProfilePage.vue +++ b/frontend/src/views/profile/ProfilePage.vue @@ -124,6 +124,7 @@ const closeDialog = () => { diff --git a/frontend/src/views/profile/account/EmailDialog.vue b/frontend/src/views/profile/account/EmailDialog.vue index 9370c89..7608bdf 100644 --- a/frontend/src/views/profile/account/EmailDialog.vue +++ b/frontend/src/views/profile/account/EmailDialog.vue @@ -32,6 +32,10 @@ import { useTranslations } from "@/translations/translations"; const t = useTranslations(); const props = defineProps({ + email: { + required: true, + type: String + }, creator: { required: true } @@ -39,7 +43,7 @@ const props = defineProps({ const emits = defineEmits(['closeRequested']); -const email = ref(props.creator.email); +const email = ref(props.email); const client = useClient(); const save = async () => {