diff --git a/resources/views/admin/includes/avatar-uploader.blade.php b/resources/views/admin/includes/avatar-uploader.blade.php index 6f1be9b..b513753 100644 --- a/resources/views/admin/includes/avatar-uploader.blade.php +++ b/resources/views/admin/includes/avatar-uploader.blade.php @@ -9,7 +9,7 @@ :max-file-size-in-mb="{{ round(($mediaCollection->getMaxFileSize()/1024/1024), 2) }}" @endif @if($mediaCollection->getAcceptedFileTypes()) - :accepted-file-types="'{{ implode($mediaCollection->getAcceptedFileTypes(), '') }}'" + :accepted-file-types="'{{ implode('', $mediaCollection->getAcceptedFileTypes()) }}'" @endif @if(isset($media) && $media->count() > 0) :uploaded-images="{{ $media->toJson() }}" diff --git a/resources/views/admin/includes/media-uploader.blade.php b/resources/views/admin/includes/media-uploader.blade.php index a7f62f1..fe0c946 100644 --- a/resources/views/admin/includes/media-uploader.blade.php +++ b/resources/views/admin/includes/media-uploader.blade.php @@ -32,7 +32,7 @@ :max-file-size-in-mb="{{ round(($mediaCollection->getMaxFileSize()/1024/1024), 2) }}" @endif @if($mediaCollection->getAcceptedFileTypes()) - :accepted-file-types="'{{ implode($mediaCollection->getAcceptedFileTypes(), '') }}'" + :accepted-file-types="'{{ implode('', $mediaCollection->getAcceptedFileTypes()) }}'" @endif @if(isset($media) && $media->count() > 0) :uploaded-images="{{ $media->toJson() }}"