fix(front): only update identity username from name if it's a new identity

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2024-02-08 11:26:03 +01:00
parent f6bcb02b98
commit 34c0dd6498
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 1 additions and 0 deletions

View File

@ -740,6 +740,7 @@ const breadcrumbsLinks = computed(
);
const updateUsername = (value: string) => {
if (props.isUpdate) return;
identity.value.preferredUsername = convertToUsername(value);
};