Open petrkrejci1 opened 5 years ago
When errors is null errors.length call is causing uncaught error. Fixed by adding check on errors and then calling the original errors.length.
I should have fix it as follows: if (errors && !errors.length) return
if (errors && !errors.length) return
When errors is null errors.length call is causing uncaught error. Fixed by adding check on errors and then calling the original errors.length.