Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix story
dominik-zeglencb85a7e4756a
diff --git a/saleor/static/dashboard-next/categories/components/CategoryDetailsPage/CategoryDetailsPage.tsx b/saleor/static/dashboard-next/categories/components/CategoryDetailsPage/CategoryDetailsPage.tsxindex 32486c7c89..3108f57631 100644--- a/saleor/static/dashboard-next/categories/components/CategoryDetailsPage/CategoryDetailsPage.tsx+++ b/saleor/static/dashboard-next/categories/components/CategoryDetailsPage/CategoryDetailsPage.tsx@@ -22,10 +22,10 @@ interface CategoryDetailsPageProps {subcategories?: Array<{id: string;name: string;- children?: {+ children: {totalCount: number;};- products?: {+ products: {totalCount: number;};}>;diff --git a/saleor/static/dashboard-next/categories/fixtures.ts b/saleor/static/dashboard-next/categories/fixtures.tsindex 16a0105eab..e568fd9451 100644--- a/saleor/static/dashboard-next/categories/fixtures.ts+++ b/saleor/static/dashboard-next/categories/fixtures.ts@@ -2,12 +2,24 @@ import { products } from "../products/fixtures";export const categories = [{+ children: {+ totalCount: 2+ },id: "123123",- name: "Lorem ipsum dolor"+ name: "Lorem ipsum dolor",+ products: {+ totalCount: 4+ }},{+ children: {+ totalCount: 18+ },id: "876752",- name: "Mauris vehicula tortor vulputate"+ name: "Mauris vehicula tortor vulputate",+ products: {+ totalCount: 2+ }}];export const category = (placeholderImage: string) => ({