Avoid issue with sorting columns on auditions screen
This commit is contained in:
parent
7c62168ec5
commit
eb68a5fc2b
|
|
@ -1,7 +1,7 @@
|
||||||
<x-layout.app>
|
<x-layout.app>
|
||||||
<x-slot:page_title>Audition Administration</x-slot:page_title>
|
<x-slot:page_title>Audition Administration</x-slot:page_title>
|
||||||
<x-card.card>
|
<x-card.card>
|
||||||
<x-table.table with_title_area>
|
<x-table.table with_title_area sortable="false">
|
||||||
<x-slot:title class="ml-3">Auditions</x-slot:title>
|
<x-slot:title class="ml-3">Auditions</x-slot:title>
|
||||||
<x-slot:subtitle class="ml-3">Drag to reorder. Double click to edit.</x-slot:subtitle>
|
<x-slot:subtitle class="ml-3">Drag to reorder. Double click to edit.</x-slot:subtitle>
|
||||||
<x-slot:title_block_right class="mr-3">
|
<x-slot:title_block_right class="mr-3">
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,3 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@push('scripts')
|
|
||||||
{{-- Code from https://codepen.io/ryangjchandler/pen/WNQQKeR--}}
|
|
||||||
<script src="{{ asset('js/sort_table_by_column.js') }}"></script>
|
|
||||||
@endpush
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
@props([
|
@props([
|
||||||
'first' => false,
|
'first' => false,
|
||||||
'spacer_only' => false,
|
'spacer_only' => false,
|
||||||
'sortable' => true
|
'sortable' => false
|
||||||
])
|
])
|
||||||
@php
|
@php
|
||||||
$classes = ($first) ? 'pl-4 pr-3 sm:pl-0' : 'px-3';
|
$classes = ($first) ? 'pl-4 pr-3 sm:pl-0' : 'px-3';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue