From 34c0dd6498247cf6a90576a602c4e305c80c9692 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 8 Feb 2024 11:26:03 +0100 Subject: [PATCH] fix(front): only update identity username from name if it's a new identity Signed-off-by: Thomas Citharel --- src/views/Account/children/EditIdentity.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/Account/children/EditIdentity.vue b/src/views/Account/children/EditIdentity.vue index 73cef1ec9..c9f7e553f 100644 --- a/src/views/Account/children/EditIdentity.vue +++ b/src/views/Account/children/EditIdentity.vue @@ -740,6 +740,7 @@ const breadcrumbsLinks = computed( ); const updateUsername = (value: string) => { + if (props.isUpdate) return; identity.value.preferredUsername = convertToUsername(value); };