Discord account Linkage, penalty update
This commit is contained in:
@@ -49,13 +49,13 @@ export default function SortableTable<TData>({
|
||||
|
||||
return (
|
||||
<div className="overflow-x-auto">
|
||||
<table className="table table-zebra w-full">
|
||||
<table className="table-zebra table w-full">
|
||||
<thead>
|
||||
{table.getHeaderGroups().map((headerGroup) => (
|
||||
<tr key={headerGroup.id}>
|
||||
{headerGroup.headers.map((header) => (
|
||||
<th key={header.id} onClick={header.column.getToggleSortingHandler()}>
|
||||
<div className="flex items-center gap-1 cursor-pointer">
|
||||
<div className="flex cursor-pointer items-center gap-1">
|
||||
{flexRender(header.column.columnDef.header, header.getContext())}
|
||||
{header.column.getIsSorted() === "asc" && <ChevronUp size={16} />}
|
||||
{header.column.getIsSorted() === "desc" && <ChevronDown size={16} />}
|
||||
@@ -75,7 +75,7 @@ export default function SortableTable<TData>({
|
||||
))}
|
||||
{table.getRowModel().rows.length === 0 && (
|
||||
<tr>
|
||||
<td colSpan={columns.length} className="text-center font-bold text-sm text-gray-500">
|
||||
<td colSpan={columns.length} className="text-center text-sm font-bold text-gray-500">
|
||||
Keine Daten gefunden
|
||||
</td>
|
||||
</tr>
|
||||
@@ -104,6 +104,8 @@ export const RowsPerPage = ({
|
||||
<option value={50}>50</option>
|
||||
<option value={100}>100</option>
|
||||
<option value={300}>300</option>
|
||||
<option value={1000}>1000</option>
|
||||
<option value={5000}>5000</option>
|
||||
</select>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user