dash index quick clean up
just a quick tweak to make the sorting a bit cleaner
This commit is contained in:
parent
2395278893
commit
eda7fd4d3e
1 changed files with 2 additions and 8 deletions
|
@ -10,14 +10,8 @@
|
|||
@php
|
||||
$type = '';
|
||||
$file = '';
|
||||
if(isset($page['media'][0]['type']))
|
||||
{
|
||||
$type = $page['media'][0]['type'];
|
||||
}
|
||||
if(isset($page['media'][0]['file']))
|
||||
{
|
||||
$file = $page['media'][0]['file'];
|
||||
}
|
||||
isset($page['media'][0]['type']) ? $type = $page['media'][0]['type'] : $type = '';
|
||||
isset($page['media'][0]['file']) ? $file = $page['media'][0]['file'] : $file = '';
|
||||
@endphp
|
||||
@if($type =='mp4')
|
||||
<a href="/dashboard/page/edit/{{ $page['uuid'] }}" id="{{ $page['uuid'] }}" class="post-video-link recent-link">
|
||||
|
|
Loading…
Reference in a new issue