For later
This commit is contained in:
parent
b03bc81762
commit
c72dbc790f
|
@ -23,10 +23,10 @@ class UserTable extends DataTableComponent
|
|||
public function columns(): array
|
||||
{
|
||||
return [
|
||||
Column::make("", "id")
|
||||
->format(function ($value, $row, Column $column) {
|
||||
return view('components.table-components.select', ['user' => $row]);
|
||||
}),
|
||||
// Column::make("", "id")
|
||||
// ->format(function ($value, $row, Column $column) {
|
||||
// return view('components.table-components.select', ['user' => $row]);
|
||||
// }),
|
||||
Column::make(__('messages.ID'), "id")
|
||||
->sortable()
|
||||
->searchable(),
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
attachClickEventListeners('user-email', handleUserClick);
|
||||
attachClickEventListeners('user-block', handleUserClick);
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
{{-- <script type="text/javascript">
|
||||
// Get the delete button div
|
||||
var deleteButtonDiv = document.getElementById('select-active');
|
||||
|
||||
|
@ -155,7 +155,7 @@ var deleteSelectedUsers = function() {
|
|||
|
||||
// Add event listener to delete button
|
||||
deleteButton.addEventListener('click', deleteSelectedUsers);
|
||||
</script>
|
||||
</script> --}}
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue