We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ac867 commit 9678bd8Copy full SHA for 9678bd8
app/Filament/Resources/ThreadResource.php
@@ -42,12 +42,8 @@ public static function table(Table $table): Table
42
->trueColor('warning')
43
->falseIcon('heroicon-s-lock-open')
44
->falseColor('success'),
45
- IconColumn::make('resolved_by')
46
- ->label('Résolu')
47
- ->getStateUsing(fn ($record) => $record->resolved_by == null ? 'heroicon-s-x-mark' : 'heroicon-s-check')
48
- ->icon(fn ($state) => $state)
49
- ->color(fn ($state) => $state === 'heroicon-s-x-mark' ? 'warning' : 'success')
50
- ->sortable(),
+ TextColumn::make('resolvedBy.name')
+ ->label('Résolu par'),
51
TextColumn::make('created_at')
52
->label('Date de publication')
53
->dateTime(),
0 commit comments