Skip to content

Commit

Permalink
Fix empty title when creating
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hunt committed Feb 19, 2024
1 parent f3bc6ab commit 599035b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function tags()
protected function title(): Attribute
{
return Attribute::make(
get: fn (string $value) => ($value === 'app.dashboard' ? __('app.dashboard') : $value),
get: fn (mixed $value) => ($value === 'app.dashboard' ? __('app.dashboard') : $value),
);
}

Expand Down

0 comments on commit 599035b

Please sign in to comment.