Skip to content

Commit

Permalink
Fix uploading image
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedsabil83 committed Jul 31, 2023
1 parent f0eb6e8 commit 3856345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/tiny-editor.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class="relative z-0"
if (!blobInfo.blob()) return
$wire.upload(`componentFileAttachments.{{ $getStatePath() }}`, blobInfo.blob(), () => {
$wire.getComponentFileAttachmentUrl('{{ $getStatePath() }}').then((url) => {
$wire.getFormComponentFileAttachmentUrl('{{ $getStatePath() }}').then((url) => {
if (!url) {
failure('{{ __('Error uploading file') }}')
return
Expand Down

0 comments on commit 3856345

Please sign in to comment.