Skip to content

Commit

Permalink
fix core views: Admin view contents were not being added to view …
Browse files Browse the repository at this point in the history
…file for some reason
  • Loading branch information
prplwtf committed Apr 10, 2024
1 parent b13726f commit da54a20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blueprint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
-e "s~\[webicon\]~$websiteiconclass~g" \
"$AdminBladeConstructor"
fi
echo -e "\n@endsection\n@yield('extension.script')" >> "$AdminBladeConstructor"
echo -e "$(<.blueprint/tmp/"$n"/"$admin_view")\n@endsection" >> "$AdminBladeConstructor"

# Construct admin route
sed -i "s~\[id\]~$identifier~g" "$AdminRouteConstructor"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/blueprint/admin/template.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
</div>
@endsection

@section('extension.script')
@section('footer-scripts')
@parent
<script>
$('.pOptions').select2();
Expand Down

0 comments on commit da54a20

Please sign in to comment.