show toast on apiErrors
This commit is contained in:
@@ -348,6 +348,7 @@ const handleSubmit = async () => {
|
||||
|
||||
router.push({ name: "dashboard-event-list" });
|
||||
} catch (error) {
|
||||
handleFailValidation();
|
||||
form.apiErrors(error);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user