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

View file

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