@if(@$filters['mapView'] == 1)
<div class="pl-3 mb-3 d-inline-flex align-items-baseline">
    <a href="{{ request()->fullUrlWithQuery(['mapView' => 0]) }}" class="ml-2 text-decoration-none disable-grid"><i class="fa fa-table text-sm"></i> Table View</a>
</div>
@else
<div class="pl-3 mb-3 d-inline-flex align-items-baseline">
    <a href="#" native class="mr-3 text-decoration-none enable-grid" onclick="$('#admin-patients-list-extended>table').addClass('stag-compact-grid'); return false;"><i class="fa fa-list text-sm"></i> Grid</a>
    <a href="#" native class="text-decoration-none disable-grid" onclick="$('#admin-patients-list-extended>table').removeClass('stag-compact-grid'); return false;"><i class="fa fa-file text-sm"></i> Details</a>
    <a href="{{ request()->fullUrlWithQuery(['mapView' => 1]) }}" class="ml-2 text-decoration-none disable-grid"><i class="fa fa-globe text-sm"></i> Map View</a>
</div>
@endif