From 0d3e3931f27b4a09f1fb81d86e51da0c118e320b Mon Sep 17 00:00:00 2001 From: golbahsg Date: Tue, 5 Sep 2023 14:55:41 +0300 Subject: [PATCH] fix(ObjectBase): remove addBtn for inline variant --- src/lib/kit/components/Inputs/ObjectBase/ObjectBase.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/kit/components/Inputs/ObjectBase/ObjectBase.tsx b/src/lib/kit/components/Inputs/ObjectBase/ObjectBase.tsx index caf1c285..24349249 100644 --- a/src/lib/kit/components/Inputs/ObjectBase/ObjectBase.tsx +++ b/src/lib/kit/components/Inputs/ObjectBase/ObjectBase.tsx @@ -72,7 +72,7 @@ export const ObjectBase: React.FC = ({ return null; } - if (!restProps.input.value) { + if (!inline && !restProps.input.value) { return addBtn; }