Skip to content

Commit

Permalink
fix: use correct image column component (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio authored Nov 24, 2023
1 parent 0cbf1ed commit e7a4ba1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/Filament/Resources/OrganisationResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
use Filament\Resources\Table;
use Filament\Tables;
use Filament\Tables\Columns\IconColumn;
use Filament\Tables\Columns\ImageColumn;
use Filament\Tables\Columns\SpatieMediaLibraryImageColumn;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Filters\Layout;
use Filament\Tables\Filters\SelectFilter;
Expand Down Expand Up @@ -357,7 +357,8 @@ public static function table(Table $table): Table
->searchable()
->toggleable(),

ImageColumn::make('logo')
SpatieMediaLibraryImageColumn::make('logo')
->conversion('thumb')
->extraImgAttributes([
'class' => 'object-contain',
])
Expand Down

0 comments on commit e7a4ba1

Please sign in to comment.