From 8a28a1e3a6acaec755094773fa57702b34054bc4 Mon Sep 17 00:00:00 2001 From: daurensky Date: Wed, 3 Apr 2024 22:11:51 +0500 Subject: [PATCH] fix: remove attachments compression --- src/UI/Filament/Resources/ProductResource.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/UI/Filament/Resources/ProductResource.php b/src/UI/Filament/Resources/ProductResource.php index c5e893a..67e0d1d 100644 --- a/src/UI/Filament/Resources/ProductResource.php +++ b/src/UI/Filament/Resources/ProductResource.php @@ -37,10 +37,7 @@ public static function form(Forms\Form $form): Forms\Form Forms\Components\SpatieMediaLibraryFileUpload::make('attachments.'.$locale) ->label(__('admin-kit-products::products.resource.attachments')) ->collection('attachments.'.$locale) - ->multiple() - ->image() - ->optimize('webp') - ->resize(30), + ->multiple(), ])), ]) ->columns(1);