Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix error handle
Krzysztof Bialoglowicz3825174ca17f
diff --git a/saleor/static/dashboard-next/siteSettings/views/index.tsx b/saleor/static/dashboard-next/siteSettings/views/index.tsxindex c1041abd1c..16cea78ae3 100644--- a/saleor/static/dashboard-next/siteSettings/views/index.tsx+++ b/saleor/static/dashboard-next/siteSettings/views/index.tsx@@ -65,7 +65,9 @@ export const SiteSettings: React.StatelessComponent<SiteSettingsProps> = ({(!data.shopDomainUpdate.errors ||data.shopDomainUpdate.errors.length === 0) &&(!data.shopSettingsUpdate.errors ||- data.shopSettingsUpdate.errors.length === 0)+ data.shopSettingsUpdate.errors.length === 0) &&+ (!data.shopAddressUpdate.errors ||+ data.shopAddressUpdate.errors.length === 0)) {notify({text: i18n.t("Site settings updated", {@@ -95,6 +97,11 @@ export const SiteSettings: React.StatelessComponent<SiteSettingsProps> = ({() =>updateShopSettingsOpts.data.shopSettingsUpdate.errors,[]+ ),+ ...maybe(+ () =>+ updateShopSettingsOpts.data.shopAddressUpdate.errors,+ [])];const loading =