ソースを参照

fix(dashboard): Fix filtering in latest orders widget

Michael Bromley 4 ヶ月 前
コミット
b8ac456f3a

+ 1 - 0
packages/dashboard/src/lib/framework/dashboard-widget/latest-orders-widget/index.tsx

@@ -42,6 +42,7 @@ export function LatestOrdersWidget() {
                             state: {
                                 notIn: ['Cancelled', 'Draft'],
                             },
+                            ...(variables.options?.filter ?? {}),
                         },
                     },
                 })}