dash index quick clean up

just a quick tweak to make the sorting a bit cleaner
This commit is contained in:
ro 2024-03-03 18:07:23 -06:00
parent 2395278893
commit eda7fd4d3e
No known key found for this signature in database
GPG key ID: 29B551CDBD4D3B50

View file

@ -10,14 +10,8 @@
@php @php
$type = ''; $type = '';
$file = ''; $file = '';
if(isset($page['media'][0]['type'])) isset($page['media'][0]['type']) ? $type = $page['media'][0]['type'] : $type = '';
{ isset($page['media'][0]['file']) ? $file = $page['media'][0]['file'] : $file = '';
$type = $page['media'][0]['type'];
}
if(isset($page['media'][0]['file']))
{
$file = $page['media'][0]['file'];
}
@endphp @endphp
@if($type =='mp4') @if($type =='mp4')
<a href="/dashboard/page/edit/{{ $page['uuid'] }}" id="{{ $page['uuid'] }}" class="post-video-link recent-link"> <a href="/dashboard/page/edit/{{ $page['uuid'] }}" id="{{ $page['uuid'] }}" class="post-video-link recent-link">