Skip to content

Commit 13a8842

Browse files
committed
Refactor Kanban board actions
1 parent 066dcea commit 13a8842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/livewire/card.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
<div
44
@class([
55
'kanban-card mb-3 bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden transition-all duration-150 hover:shadow-md',
6-
'cursor-pointer' => $this->editAction() && ($this->createAction)(['record' => $record['id']])->isVisible(),
6+
'cursor-pointer' => $this->editAction() && ($this->editAction)(['record' => $record['id']])->isVisible(),
77
'cursor-default' => !$this->editAction()
88
])
99
x-sortable-handle
1010
x-sortable-item="{{ $record['id'] }}"
11-
@if($this->editAction() && ($this->createAction)(['record' => $record['id']])->isVisible())
11+
@if($this->editAction() && ($this->editAction)(['record' => $record['id']])->isVisible())
1212
wire:click="mountAction('edit', {record: {{ $record['id'] }}})"
1313
@endif
1414
>

0 commit comments

Comments
 (0)