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:
parent
f6bcb02b98
commit
34c0dd6498
|
@ -740,6 +740,7 @@ const breadcrumbsLinks = computed(
|
||||||
);
|
);
|
||||||
|
|
||||||
const updateUsername = (value: string) => {
|
const updateUsername = (value: string) => {
|
||||||
|
if (props.isUpdate) return;
|
||||||
identity.value.preferredUsername = convertToUsername(value);
|
identity.value.preferredUsername = convertToUsername(value);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue