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 0a63468 commit 5321f44Copy full SHA for 5321f44
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