mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
feat: enable sorting on enrichment columns
This commit is contained in:
@@ -1437,7 +1437,7 @@ export default function AdminTrafficUsage() {
|
|||||||
header: t('admin.trafficUsage.connected'),
|
header: t('admin.trafficUsage.connected'),
|
||||||
size: 65,
|
size: 65,
|
||||||
minSize: 50,
|
minSize: 50,
|
||||||
enableSorting: false,
|
enableSorting: true,
|
||||||
meta: { align: 'center' as const },
|
meta: { align: 'center' as const },
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const e = enrichment?.[row.original.user_id];
|
const e = enrichment?.[row.original.user_id];
|
||||||
@@ -1451,7 +1451,7 @@ export default function AdminTrafficUsage() {
|
|||||||
header: t('admin.trafficUsage.totalSpent'),
|
header: t('admin.trafficUsage.totalSpent'),
|
||||||
size: 75,
|
size: 75,
|
||||||
minSize: 55,
|
minSize: 55,
|
||||||
enableSorting: false,
|
enableSorting: true,
|
||||||
meta: { align: 'center' as const },
|
meta: { align: 'center' as const },
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const e = enrichment?.[row.original.user_id];
|
const e = enrichment?.[row.original.user_id];
|
||||||
@@ -1469,7 +1469,7 @@ export default function AdminTrafficUsage() {
|
|||||||
header: t('admin.trafficUsage.subStart'),
|
header: t('admin.trafficUsage.subStart'),
|
||||||
size: 80,
|
size: 80,
|
||||||
minSize: 65,
|
minSize: 65,
|
||||||
enableSorting: false,
|
enableSorting: true,
|
||||||
meta: { align: 'center' as const },
|
meta: { align: 'center' as const },
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const e = enrichment?.[row.original.user_id];
|
const e = enrichment?.[row.original.user_id];
|
||||||
@@ -1487,7 +1487,7 @@ export default function AdminTrafficUsage() {
|
|||||||
header: t('admin.trafficUsage.subEnd'),
|
header: t('admin.trafficUsage.subEnd'),
|
||||||
size: 80,
|
size: 80,
|
||||||
minSize: 65,
|
minSize: 65,
|
||||||
enableSorting: false,
|
enableSorting: true,
|
||||||
meta: { align: 'center' as const },
|
meta: { align: 'center' as const },
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const e = enrichment?.[row.original.user_id];
|
const e = enrichment?.[row.original.user_id];
|
||||||
@@ -1505,7 +1505,7 @@ export default function AdminTrafficUsage() {
|
|||||||
header: t('admin.trafficUsage.lastNode'),
|
header: t('admin.trafficUsage.lastNode'),
|
||||||
size: 100,
|
size: 100,
|
||||||
minSize: 70,
|
minSize: 70,
|
||||||
enableSorting: false,
|
enableSorting: true,
|
||||||
meta: { align: 'center' as const },
|
meta: { align: 'center' as const },
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const e = enrichment?.[row.original.user_id];
|
const e = enrichment?.[row.original.user_id];
|
||||||
|
|||||||
Reference in New Issue
Block a user