Skip to content

Commit f6b39ac

Browse files
authored
Merge pull request #298 from Blair2004/v4.4.x
Changelog
2 parents a13d27b + 8e563b8 commit f6b39ac

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

public/js/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/ts/pages/dashboard/procurements/manage-products.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,12 @@ export default {
388388
nsSnackBar.error( error.message, undefined, {
389389
duration: 5000
390390
}).subscribe();
391-
this.formValidation.triggerError( this.form, error.response.data );
391+
392392
this.formValidation.enableForm( this.form );
393+
394+
if ( error.response ) {
395+
this.formValidation.triggerError( this.form, error.response.data );
396+
}
393397
})
394398
},
395399
deleteVariation( index ) {

0 commit comments

Comments
 (0)