Make right slot optional in SettingLayout

This commit is contained in:
philipp lang 2024-10-20 18:26:17 +02:00
parent 527f13460c
commit 7304436163
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class SettingLayout extends Component
return <<<'HTML'
<x-page::layout>
<x-slot:right>
{{ $right }}
{{ $right ?? '' }}
</x-slot:right>
<div class="flex grow relative">
<x-ui::menulist :entries="$entries"></x-ui::menulist>