show toast on apiErrors

This commit is contained in:
2023-03-01 17:20:58 +10:00
parent 1f8646438d
commit 22ebefc46a

View File

@@ -348,6 +348,7 @@ const handleSubmit = async () => {
router.push({ name: "dashboard-event-list" });
} catch (error) {
handleFailValidation();
form.apiErrors(error);
}
};