diff --git a/frontend/src/components/Modals/EditProfile.vue b/frontend/src/components/Modals/EditProfile.vue index f6564d49..ca89d289 100644 --- a/frontend/src/components/Modals/EditProfile.vue +++ b/frontend/src/components/Modals/EditProfile.vue @@ -222,8 +222,8 @@ watch( watch( () => profile.language, - (newVal, oldVal) => { - if (newVal !== oldVal) { + () => { + if (profile.language !== props.profile.data.language) { hasLanguageChanged.value = true } }