🐛 fix: Update subscribe name fallback to return '--' instead of 'Unknown'

This commit is contained in:
web
2025-09-23 04:40:35 -07:00
parent ee05a73834
commit 0a07d2578e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -58,6 +58,9 @@ export default function Page() {
accessorKey: 'subscribe_id',
header: t('subscribe'),
cell: ({ row }) => {
if (row.original.type === 4) {
return t(`type.${row.getValue('type')}`);
}
const name = getSubscribeName(row.getValue('subscribe_id'));
const quantity = row.original.quantity;
return name ? `${name} × ${quantity}` : '';