refactor: Remove deleteRoute parameter from customer delete action component.
This commit is contained in:
parent
bc9e929a50
commit
c650d8d58f
@ -84,7 +84,6 @@ public function columns(): array
|
|||||||
if (auth()->user()->can('delete customer')) {
|
if (auth()->user()->can('delete customer')) {
|
||||||
$actions .= view('components.actions.table.delete', [
|
$actions .= view('components.actions.table.delete', [
|
||||||
'id' => $row->hash,
|
'id' => $row->hash,
|
||||||
'deleteRoute' => route('studio.loyalty.customer.delete', $row->hash),
|
|
||||||
])->render();
|
])->render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user