Avoid issue with sorting columns on auditions screen

This commit is contained in:
Matt Young 2024-06-04 00:05:23 -05:00
parent 7c62168ec5
commit eb68a5fc2b
3 changed files with 2 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<x-layout.app>
<x-slot:page_title>Audition Administration</x-slot:page_title>
<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:subtitle class="ml-3">Drag to reorder. Double click to edit.</x-slot:subtitle>
<x-slot:title_block_right class="mr-3">

View File

@ -30,7 +30,3 @@
</div>
</div>
</div>
@push('scripts')
{{-- Code from https://codepen.io/ryangjchandler/pen/WNQQKeR--}}
<script src="{{ asset('js/sort_table_by_column.js') }}"></script>
@endpush

View File

@ -1,7 +1,7 @@
@props([
'first' => false,
'spacer_only' => false,
'sortable' => true
'sortable' => false
])
@php
$classes = ($first) ? 'pl-4 pr-3 sm:pl-0' : 'px-3';