Skip to content

Commit

Permalink
fix missing braces (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhairulAzmi21 authored Sep 30, 2024
1 parent c37e5f9 commit 8c8e621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/upload.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 8c8e621

Please sign in to comment.