For later

This commit is contained in:
Julian Prieber 2024-01-04 17:11:30 +01:00
parent b03bc81762
commit c72dbc790f
2 changed files with 6 additions and 6 deletions

View File

@ -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(),

View File

@ -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>