Skip to content

Commit

Permalink
fix: remove attachments compression
Browse files Browse the repository at this point in the history
  • Loading branch information
daurensky committed Apr 3, 2024
1 parent 09db21f commit 8a28a1e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/UI/Filament/Resources/ProductResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8a28a1e

Please sign in to comment.