+
+
+
+
+ {profilesTable.getHeaderGroups().map((headerGroup) => (
+
+ {headerGroup.headers.map((header) => (
+
+ {flexRender(
+ header.column.columnDef.header,
+ header.getContext()
+ )}
+ {{
+ asc: (
+
+
+
+ ),
+ desc: (
+
+
+
+ ),
+ }[header.column.getIsSorted() as string] ?? null}
+ |
+ ))}
+
+ ))}
+
+
+ {profilesTable.getRowModel().rows.map((row) => (
+
+ {row.getVisibleCells().map((cell) => (
+
+ {flexRender(
+ cell.column.columnDef.cell,
+ cell.getContext()
+ )}
+ |
+ ))}
+
+ ))}
+
+
+ {profilesTable.getFooterGroups().map((footerGroup) => (
+
+ {footerGroup.headers.map((header) => (
+
+ {header.isPlaceholder
+ ? null
+ : flexRender(
+ header.column.columnDef.footer,
+ header.getContext()
+ )}
+ |
+ ))}
+
+ ))}
+
+
+
+
+
+