Selaa lähdekoodia

feat(dashboard): Provide entity object to draft-order-detail Page component (#4073)

Luca Killmaier 2 viikkoa sitten
vanhempi
sitoutus
bad41da3f5

+ 1 - 1
packages/dashboard/src/app/routes/_authenticated/_orders/orders_.draft.$id.tsx

@@ -290,7 +290,7 @@ function DraftOrderPage() {
     };
 
     return (
-        <Page pageId="draft-order-detail" form={form}>
+        <Page pageId="draft-order-detail" form={form} entity={entity}>
             <PageTitle>
                 <Trans>Draft order</Trans>: {entity?.code ?? ''}
             </PageTitle>