From 61bb0081374f75560b44e13d75a425730fbc3a64 Mon Sep 17 00:00:00 2001 From: purple Date: Wed, 10 Apr 2024 10:55:56 +0200 Subject: [PATCH] fix `core` `views`: Fix empty extension pages, at least attempt to fix it. --- blueprint.sh | 2 +- resources/views/blueprint/admin/template.blade.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/blueprint.sh b/blueprint.sh index c5132e8..a1dab58 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -1218,7 +1218,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD=" -e "s~\[webicon\]~$websiteiconclass~g" \ "$AdminBladeConstructor" fi - echo -e "\n@endsection" >> "$AdminBladeConstructor" + echo -e "\n@endsection\n@yield('extension.script')" >> "$AdminBladeConstructor" # Construct admin route sed -i "s~\[id\]~$identifier~g" "$AdminRouteConstructor" diff --git a/resources/views/blueprint/admin/template.blade.php b/resources/views/blueprint/admin/template.blade.php index 04ee500..9130c13 100644 --- a/resources/views/blueprint/admin/template.blade.php +++ b/resources/views/blueprint/admin/template.blade.php @@ -23,9 +23,7 @@ @section("extension.config")