From 3be31249516f1624d9ea5b178c7f6bea97819789 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Wed, 26 Nov 2025 15:05:55 +0530 Subject: [PATCH] fix: profile update form --- frontend/src/components/Modals/EditProfile.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } }