Skip to content

Commit

Permalink
Fixed modal window requiring data definition before loading
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Jul 21, 2024
1 parent 992db26 commit d97742e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions resources/views/layouts/modal.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,13 @@
<div class="modal-body layout-wrapper">
<x-orchid-stream target="{{$templateSlug}}">
<div id="{{ $templateSlug }}">
@foreach($manyForms as $formKey => $modal)
@foreach($modal as $item)
{!! $item ?? '' !!}
@if($asyncEnable == \Orchid\Support\Facades\Dashboard::isPartialRequest())
@foreach($manyForms as $formKey => $modal)
@foreach($modal as $item)
{!! $item ?? '' !!}
@endforeach
@endforeach
@endforeach
@csrf
@endif
</div>
</x-orchid-stream>
</div>
Expand Down

0 comments on commit d97742e

Please sign in to comment.