Skip to content

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

Replace instead of pushing to history

dominik-zeglen2904fa30973c
diff --git a/saleor/static/dashboard-next/translations/views/TranslationsProducts.tsx b/saleor/static/dashboard-next/translations/views/TranslationsProducts.tsx
index 0fde9d71f4..774d5819b8 100644
--- a/saleor/static/dashboard-next/translations/views/TranslationsProducts.tsx
+++ b/saleor/static/dashboard-next/translations/views/TranslationsProducts.tsx
@@ -35,14 +35,15 @@ const TranslationsProducts: React.FC<TranslationsProductsProps> = ({
"?" +
stringifyQs({
activeField: field
- })
+ }),
+ true
);
const onUpdate = (data: UpdateProductTranslations) => {
if (data.productTranslate.errors.length === 0) {
notify({
text: i18n.t("Translation Saved")
});
- navigate("?");
+ navigate("?", true);
}
};