MedicOneSystems / livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS
https://livewire-datatables.com/
MIT License
1.19k stars 258 forks source link

Undefined array key "align" #459

Closed coreshot closed 2 years ago

coreshot commented 2 years ago

resources / views / livewire / datatables / header-no-hide.blade.php : 4

@if($column['hidden'])

@else

<div class="relative table-cell h-12 overflow-hidden align-top" @if (isset($column['width']))style="width:{{ $column['width'] }}"@endif>

<button wire:click.prefetch="sort('{{ $index }}')" class="w-full h-full px-6 py-3 border-b border-gray-200 bg-gray-50 text-left text-xs leading-4 font-medium text-gray-500 uppercase tracking-wider flex items-center focus:outline-none @if($column[

    <span class="inline ">{{ str_replace('_', ' ', $column['label']) }}</span>

    <span class="inline text-xs text-blue-400">

        @if($sort === $index)

        @if($direction)

        <x-icons.chevron-up wire:loading.remove class="h-6 w-6 text-green-600 stroke-current" />

        @else

        <x-icons.chevron-down wire:loading.remove class="h-6 w-6 text-green-600 stroke-current" />

        @endif

        @endif

    </span>

</button>

@endif

Any ideas why I'm getting this? Just upgraded to laravel 9 and since I upgraded to .94 this error pops up.

Thanks

coreshot commented 2 years ago

Nevermind, drag and dropped livewire/datatables folder from master here into folder. Had some old files sticking around I guess.