🐛 fix(payment): Add notification URL field to payment management interface
This commit is contained in:
@@ -197,7 +197,7 @@ export default function PaymentForm<T>({
|
||||
<FormLabel>{t('domain')}</FormLabel>
|
||||
<FormControl>
|
||||
<EnhancedInput
|
||||
placeholder={t('domainPlaceholder', { example: 'https://example.com' })}
|
||||
placeholder={t('domainPlaceholder', { example: 'http(s)://example.com' })}
|
||||
value={field.value}
|
||||
onValueChange={(value) => form.setValue('domain', value as string)}
|
||||
/>
|
||||
|
||||
@@ -96,12 +96,8 @@ export default function PaymentTable() {
|
||||
cell: ({ row }) => <Badge>{t(row.getValue('platform'))}</Badge>,
|
||||
},
|
||||
{
|
||||
accessorKey: 'domain',
|
||||
header: t('domain'),
|
||||
cell: ({ row }) => {
|
||||
const domain = row.getValue('domain') as string;
|
||||
return domain ? <Badge variant='outline'>{domain}</Badge> : '--';
|
||||
},
|
||||
accessorKey: 'notify_url',
|
||||
header: t('notify_url'),
|
||||
},
|
||||
{
|
||||
accessorKey: 'fee',
|
||||
|
||||
Reference in New Issue
Block a user