Skip to content

Commit

Permalink
- moved the semicolon in cols template in the style from the if clause (
Browse files Browse the repository at this point in the history
  • Loading branch information
marineusde authored Nov 14, 2024
1 parent 1f48ead commit 8d0c2a2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions resources/views/components/cols.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@
: null;
@endphp
<th
x-data="{ sortable: @js(data_get($column, 'sortable')) }"
@if ($sortOrder) sort_order="{{ $sortOrder }}" @endif
class="{{ theme_style($theme, 'table.header.th') . ' ' . data_get($column, 'headerClass') }}"
@if ($isFixedOnResponsive) fixed @endif
@if (data_get($column, 'enableSort')) x-multisort-shift-click="{{ $this->getId() }}"
x-data="{ sortable: @js(data_get($column, 'sortable')) }"
@if ($sortOrder) sort_order="{{ $sortOrder }}" @endif
class="{{ theme_style($theme, 'table.header.th') . ' ' . data_get($column, 'headerClass') }}"
@if ($isFixedOnResponsive) fixed @endif
@if (data_get($column, 'enableSort')) x-multisort-shift-click="{{ $this->getId() }}"
wire:click="sortBy('{{ $field }}')" @endif
style="{{ data_get($column, 'hidden') === true ? 'display:none' : ''; }} width: max-content !important; @if (data_get($column, 'enableSort')) cursor:pointer; @endif {{ data_get($column, 'headerStyle') }}"
style="{{ data_get($column, 'hidden') === true ? 'display:none;' : '' }} width: max-content !important; @if (data_get($column, 'enableSort')) cursor:pointer; @endif {{ data_get($column, 'headerStyle') }}"
>
<div
class="{{ theme_style($theme, 'cols.div') }}"
class="{{ theme_style($theme, 'cols.div') }}"
>
<span data-value>{!! data_get($column, 'title') !!}</span>

@if (data_get($column, 'enableSort'))
<x-dynamic-component
component="{{ $this->sortIcon($field) }}"
width="16"
component="{{ $this->sortIcon($field) }}"
width="16"
/>
@endif
</div>
Expand Down

0 comments on commit 8d0c2a2

Please sign in to comment.