diff --git a/src/views/Account/children/EditIdentity.vue b/src/views/Account/children/EditIdentity.vue index ec92beb9c..f5899a317 100644 --- a/src/views/Account/children/EditIdentity.vue +++ b/src/views/Account/children/EditIdentity.vue @@ -265,7 +265,10 @@ onPersonResult(async ({ data }) => { onPersonError((err) => handleErrors(err as unknown as AbsintheGraphQLErrors)); -const person = computed(() => personResult.value?.fetchPerson); +const person = computed(() => + // person should be undefined if we are on the creation form and defined if we are on the edit form + props.identityName !== undefined ? personResult.value?.fetchPerson : undefined +); const baseIdentity: IPerson = { id: undefined,