[] {
cell: ({ row }) => {
const apiKey = row.original
if (apiKey.unlimited_quota) {
- return (
-
- )
+ return
}
const used = apiKey.used_quota
diff --git a/web/src/features/keys/components/api-keys-table.tsx b/web/src/features/keys/components/api-keys-table.tsx
index 079505b2..3561df52 100644
--- a/web/src/features/keys/components/api-keys-table.tsx
+++ b/web/src/features/keys/components/api-keys-table.tsx
@@ -53,7 +53,7 @@ import {
ERROR_MESSAGES,
} from '../constants'
import type { ApiKey } from '../types'
-import { ApiKeyCell } from './api-keys-cells'
+import { ApiKeyCell, UnlimitedQuotaBadge } from './api-keys-cells'
import { useApiKeysColumns } from './api-keys-columns'
import { useApiKeys } from './api-keys-provider'
import { DataTableBulkActions } from './data-table-bulk-actions'
@@ -168,7 +168,7 @@ function ApiKeysMobileList({
{t('Quota')}
{apiKey.unlimited_quota ? (
- {t('Unlimited')}
+
) : (
{formatQuota(apiKey.remain_quota)}