🐛 Fixed small errors in editor

This commit is contained in:
Mawoka
2022-12-06 16:57:56 +01:00
parent 394887aff6
commit 21d1de595d
5 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
yupErrorMessage = '';
} catch (err) {
schemaInvalid = true;
yupErrorMessage = err.errors[0];
yupErrorMessage = err.errors ? err.errors[0] : '';
}
};
$: validateInput(data);