Correction in EditIdentify for correct e2e test failed (issue #1771)

This commit is contained in:
Laurent GAY
2025-06-17 20:08:15 +02:00
parent 52ef7fb9af
commit efc950ad91
2 changed files with 24 additions and 17 deletions

View File

@@ -663,6 +663,13 @@ const handleError = (err: any) => {
}
if (err.graphQLErrors !== undefined) {
err.graphQLErrors.forEach((error: any) => {
if (Array.isArray(error.message)) {
errors.value.push(error.message[0]);
} else {
errors.value.push(error.message);
}
});
err.graphQLErrors.forEach(
({ message: errorMessage }: { message: string }) => {
notifier?.error(errorMessage);