diff --git a/resources/views/upload.blade.php b/resources/views/upload.blade.php index 476acd1..21db27e 100644 --- a/resources/views/upload.blade.php +++ b/resources/views/upload.blade.php @@ -66,13 +66,13 @@ class="{{ $attributes->get('class') }}" }, revert: async (filename, load) => { await @this.revert('{{ $wireModelAttribute }}', filename, load); - $dispatch('filepond-upload-reverted', {'attribute' : '{{ $wireModelAttribute }}'); + $dispatch('filepond-upload-reverted', {'attribute' : '{{ $wireModelAttribute }}'}); }, remove: async (file, load) => { console.log(file); await @this.remove('{{ $wireModelAttribute }}', file.name); load(); - $dispatch('filepond-upload-file-removed', {'attribute' : '{{ $wireModelAttribute }}'); + $dispatch('filepond-upload-file-removed', {'attribute' : '{{ $wireModelAttribute }}'}); }, }, required: @js($required),