Skip to content

Commit 92c663c

Browse files
committed
Change to allow use of checkbox without 'CanPinRecords'
1 parent a928621 commit 92c663c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/views/livewire/datatables/checkbox.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
type="checkbox"
44
wire:model="selected"
55
value="{{ $value }}"
6-
@if (in_array($value, $this->pinnedRecords)) checked @endif
6+
@if (property_exists($this, 'pinnedRecords') && in_array($value, $this->pinnedRecords)) checked @endif
77
class="w-4 h-4 mt-1 text-blue-600 form-checkbox transition duration-150 ease-in-out"
88
/>
99
</div>

0 commit comments

Comments
 (0)