From 79189bea9aa74dbe4f68951db40ae8d11f5d1eca Mon Sep 17 00:00:00 2001 From: AlexSserb Date: Thu, 18 Sep 2025 20:37:35 +0400 Subject: [PATCH] fix: product quantity input and modules dependencies title fixed --- .../tabs/ModulesTab/hooks/useModulesTableColumns.tsx | 2 +- .../components/ProductView/ProductView.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/deals/drawers/ProjectEditorDrawer/tabs/ModulesTab/hooks/useModulesTableColumns.tsx b/src/app/deals/drawers/ProjectEditorDrawer/tabs/ModulesTab/hooks/useModulesTableColumns.tsx index 0a84e64..bbb73e9 100644 --- a/src/app/deals/drawers/ProjectEditorDrawer/tabs/ModulesTab/hooks/useModulesTableColumns.tsx +++ b/src/app/deals/drawers/ProjectEditorDrawer/tabs/ModulesTab/hooks/useModulesTableColumns.tsx @@ -21,7 +21,7 @@ const useModulesTableColumns = () => { { title: ( - Зависит от модулей + Зависит от модулей = ({ dealProduct }) => { {!dealProduct.product && ( @@ -123,13 +122,14 @@ const ProductView: FC = ({ dealProduct }) => { {/*{value.product.barcodes.join(", ")}*/} {/**/} isNumber(quantity) && debouncedOnChange({ quantity }) } placeholder={"Введите количество товара"} + min={1} + allowNegative={false} />