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