Skip to content

Commit 599035b

Browse files
author
Chris Hunt
committed
Fix empty title when creating
1 parent f3bc6ab commit 599035b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function tags()
141141
protected function title(): Attribute
142142
{
143143
return Attribute::make(
144-
get: fn (string $value) => ($value === 'app.dashboard' ? __('app.dashboard') : $value),
144+
get: fn (mixed $value) => ($value === 'app.dashboard' ? __('app.dashboard') : $value),
145145
);
146146
}
147147

0 commit comments

Comments
 (0)