From 4ecbff4cf12829e371a4e5696c795629fb79ad45 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 25 Oct 2024 00:46:03 +0200 Subject: [PATCH] Set active title for setting --- app/View/Page/Layout.php | 4 ++-- app/View/Page/SettingLayout.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/View/Page/Layout.php b/app/View/Page/Layout.php index 76ed437f..d136065d 100644 --- a/app/View/Page/Layout.php +++ b/app/View/Page/Layout.php @@ -7,7 +7,7 @@ use Illuminate\View\Component; class Layout extends Component { - public function __construct(public string $pageClass = '') + public function __construct(public string $pageClass = '', public string $title = '') { } @@ -26,7 +26,7 @@ class Layout extends Component return <<<'HTML'