Fix #1392
This commit is contained in:
parent
f9580b077a
commit
f20dea46e4
|
|
@ -117,8 +117,10 @@
|
|||
@endif
|
||||
|
||||
window.serverErrors = [];
|
||||
@if (count($errors))
|
||||
window.serverErrors = @json($errors->getMessages());
|
||||
@if (isset($errors))
|
||||
@if (count($errors))
|
||||
window.serverErrors = @json($errors->getMessages());
|
||||
@endif
|
||||
@endif
|
||||
</script>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue