Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Force update after list changes
dominik-zeglen3e387592f33a
diff --git a/saleor/static/dashboard-next/queries.tsx b/saleor/static/dashboard-next/queries.tsxindex 98ffff8f94..1dbdba9f21 100644--- a/saleor/static/dashboard-next/queries.tsx+++ b/saleor/static/dashboard-next/queries.tsx@@ -22,7 +22,12 @@ export function TypedQuery<TData, TVariables>(query: DocumentNode) {}: TypedQueryInnerProps<TData, TVariables>) => (<Messages>{pushMessage => (- <StrictTypedQuery query={query} variables={variables} skip={skip}>+ <StrictTypedQuery+ fetchPolicy="cache-and-network"+ query={query}+ variables={variables}+ skip={skip}+ >{props => {if (props.error) {const msg = i18n.t("Something went wrong: {{ message }}", {