+ {prerequisites && !prerequisites.ready && (
+
ACME Setup Guide}
+ style={{ marginBottom: 16, borderColor: '#faad14' }}
+ >
+ ({
+ title: (
+
+ {step.title}
+ {step.navigate && (
+
+ )}
+ {step.action === 'register_account' && !step.ok && (
+
+ )}
+
+ ),
+ description: step.detail,
+ status: step.ok === true ? 'finish' : step.ok === false ? 'error' : 'wait',
+ }))}
+ />
+
+ )}
+
{pendingOrders.length > 0 && (
{
}
style={{ marginBottom: 24 }}
>
+
+ !['cancelled','invalid','valid'].includes(o.status)).length})`, value: 'active' },
+ { label: `Completed (${orders.filter(o => o.status === 'valid').length})`, value: 'completed' },
+ { label: `Failed / Cancelled (${orders.filter(o => o.status === 'cancelled' || o.status === 'invalid').length})`, value: 'failed' },
+ { label: `All (${orders.length})`, value: 'all' },
+ ]}
+ size="small"
+ />
+
`${total} orders` }}
size="small"
+ rowClassName={(record) =>
+ record.status === 'cancelled' || record.status === 'invalid' ? 'acme-order-terminal' : ''
+ }
/>
@@ -521,7 +615,7 @@ const ACMEAutomation = () => {
)}
{wizardStep === wizardSteps.length - 1 && (
-