Closed beshoo closed 1 year ago
withBreadcrumbs
Heya! I suggest you use the HasTranslations trait and spatie/laravel-translatable. Referenced in step 1 of the installation: https://github.com/outl1ne/nova-translatable#installation
Great, I used it ... but check this out the problem in the user menu!
Seems like an issue with how Nova queries the User resource.
You can use this to fix it in the header: Models/User.php:
public function toArray()
{
return array_merge(parent::toArray(), ['name' => $this->name]);
}
Thats fix the problem , but.. shuled we report this to Nova!?
Nova : v4.26.1 (Silver Surfer)
https://github.com/outl1ne/nova-translatable/issues/78