Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix homepage assigning
dominik-zeglen0a416aabeca7
diff --git a/saleor/static/dashboard-next/collections/views/CollectionDetails.tsx b/saleor/static/dashboard-next/collections/views/CollectionDetails.tsxindex e1e952e23e..f7c681ffc8 100644--- a/saleor/static/dashboard-next/collections/views/CollectionDetails.tsx+++ b/saleor/static/dashboard-next/collections/views/CollectionDetails.tsx@@ -152,9 +152,10 @@ export const CollectionDetails: React.StatelessComponent<}});if (+ data.shop.homepageCollection !== null &&formData.isFeatured !==- (data.shop.homepageCollection.id ===- data.collection.id)+ (data.shop.homepageCollection.id ===+ data.collection.id)) {assignHomepageCollection.mutate({id: formData.isFeatured ? id : null