diff --git a/resources/views/themes/base/admin/show_album.blade.php b/resources/views/themes/base/admin/show_album.blade.php index 909f0cb..1f45d5b 100644 --- a/resources/views/themes/base/admin/show_album.blade.php +++ b/resources/views/themes/base/admin/show_album.blade.php @@ -111,7 +111,7 @@ @endforeach // Populate the list of albums in the view model - @foreach ($albums as $album) + @foreach ($g_albums as $album) @if(Gate::check('edit', $album) && Gate::check('upload-photos', $album)) editViewModel.data.albums.push({ 'id': '{{ $album->id }}',