Skip to content

Commit

Permalink
fix(ObjectBase): remove addBtn for inline variant
Browse files Browse the repository at this point in the history
  • Loading branch information
DakEnviy committed Sep 5, 2023
1 parent 16b2f04 commit 0d3e393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/kit/components/Inputs/ObjectBase/ObjectBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const ObjectBase: React.FC<ObjectBaseProps> = ({
return null;
}

if (!restProps.input.value) {
if (!inline && !restProps.input.value) {
return addBtn;
}

Expand Down

0 comments on commit 0d3e393

Please sign in to comment.