Fix notifications error for collect() #937

This commit is contained in:
Nabeel Shahzad 2020-11-26 13:08:32 -05:00
parent 8f4219bc95
commit 9cf07c47c7

View File

@ -1,4 +1,4 @@
@foreach (session('flash_notification', collect())->toArray() as $message) @foreach (collect(session('flash_notification', collect()))->toArray() as $message)
@if ($message['overlay']) @if ($message['overlay'])
@include('flash::modal', [ @include('flash::modal', [
'modalClass' => 'flash-modal', 'modalClass' => 'flash-modal',