diff --git a/resources/js/helpers.js b/resources/js/helpers.js index ec334da3..4d38c13e 100644 --- a/resources/js/helpers.js +++ b/resources/js/helpers.js @@ -177,7 +177,7 @@ const Helpers = { if (files.length == 0) return - if (!this.$checkFileMimetype(files)) return + if (!this.$checkFileMimetype(files) || !this.$checkUploadLimit(files)) return this.$handleUploading(files, undefined) }