diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 45db10e..054c672 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -37,6 +37,7 @@ "Success": "Success", "Failed": "Failed", "All": "All", + "Select": "Select", "Table": { "Total": "Total {{total}} items" }, diff --git a/public/locales/zh/common.json b/public/locales/zh/common.json index 2004506..579f7cd 100644 --- a/public/locales/zh/common.json +++ b/public/locales/zh/common.json @@ -37,6 +37,7 @@ "Success": "成功", "Failed": "失败", "All": "所有", + "Select": "选择", "Table": { "Total": "共 {{total}} 条" }, diff --git a/src/components/ProductsTypesSelector.jsx b/src/components/ProductsTypesSelector.jsx index 6c719fe..7de4797 100644 --- a/src/components/ProductsTypesSelector.jsx +++ b/src/components/ProductsTypesSelector.jsx @@ -3,7 +3,7 @@ import { useProductsTypes } from '@/hooks/useProductsSets'; import { useTranslation } from 'react-i18next'; const ProductsTypesSelector = ({...props}) => { - const productsTypes = useProductsTypes(); + const productsTypes = useProductsTypes(true); const { t } = useTranslation(); return ( <> diff --git a/src/views/products/Detail/CopyProducts.jsx b/src/views/products/Detail/CopyProducts.jsx index c0cb210..c2df596 100644 --- a/src/views/products/Detail/CopyProducts.jsx +++ b/src/views/products/Detail/CopyProducts.jsx @@ -52,13 +52,13 @@ export const CopyProductsForm = ({ action, initialValues, onFormInstanceReady, s -