Skip to content

Commit

Permalink
fix create beam error message
Browse files Browse the repository at this point in the history
  • Loading branch information
zlayine committed Jun 28, 2024
1 parent 8bbb209 commit dd571f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/js/components/pages/create/CreateBeam.vue
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ const invalidSubmit = () => {
const createBeam = async () => {
await validateForms();
if (!isAllValid.value) {
snackbar.error({
title: 'Form validation',
text: 'Please verify that all the fields are valid',
});
return;
}
try {
Expand Down

0 comments on commit dd571f4

Please sign in to comment.