Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add todos

dominik-zeglenc09149cb3641
diff --git a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx
index fbfa85b2b0..4365dd4902 100644
--- a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx
+++ b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx
@@ -28,9 +28,9 @@ export interface HomePageProps {
sales: Home_salesToday_gross;
topProducts: Home_productTopToday_edges_node[];
userName: string;
- onOrdersToCaptureClick: () => void; // TODO: #3172
- onOrdersToFulfillClick: () => void; // TODO: #3172
- onProductClick: (productId: string, variantId: string) => void; // TODO: #3184
+ onOrdersToCaptureClick: () => void;
+ onOrdersToFulfillClick: () => void;
+ onProductClick: (productId: string, variantId: string) => void;
onProductsOutOfStockClick: () => void;
}
diff --git a/saleor/static/dashboard-next/home/views/index.tsx b/saleor/static/dashboard-next/home/views/index.tsx
index 148ea88b78..e16b783f41 100644
--- a/saleor/static/dashboard-next/home/views/index.tsx
+++ b/saleor/static/dashboard-next/home/views/index.tsx
@@ -32,9 +32,9 @@ const HomeSection = () => (
)
)
}
- onOrdersToCaptureClick={() => navigate(orderListUrl)}
- onOrdersToFulfillClick={() => navigate(orderListUrl)}
- onProductsOutOfStockClick={() => navigate(productListUrl)}
+ onOrdersToCaptureClick={() => navigate(orderListUrl)} // TODO: #3172
+ onOrdersToFulfillClick={() => navigate(orderListUrl)} // TODO: #3172
+ onProductsOutOfStockClick={() => navigate(productListUrl)} // TODO: #3184
ordersToCapture={maybe(() => data.ordersToCapture.totalCount)}
ordersToFulfill={maybe(() => data.ordersToFulfill.totalCount)}
productsOutOfStock={maybe(