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:
@@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user