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.
2 parents af1d329 + 5321f44 commit 6f6902eCopy full SHA for 6f6902e
1 file changed
app/Http/Livewire/Projects.php
@@ -78,7 +78,7 @@ protected function getTableColumns(): array
78
->label(__('Description'))
79
->searchable()
80
->sortable()
81
- ->formatStateUsing(fn(string $state) => Str::limit(htmlspecialchars(strip_tags($state ?? '')), 50)),
+ ->formatStateUsing(fn(string|null $state) => Str::limit(htmlspecialchars(strip_tags($state ?? '')), 50)),
82
83
UserColumn::make('owner')
84
->label(__('Owner')),
0 commit comments