From 7a9f269031150eb6733c2d1f139c9a7c87b1a416 Mon Sep 17 00:00:00 2001 From: NasgulNexus Date: Fri, 28 Apr 2023 17:38:44 +0200 Subject: [PATCH] fix: object inputs layout child --- .../kit/components/Inputs/ObjectValueInput/ObjectValueInput.tsx | 2 +- src/lib/kit/components/Inputs/Secret/Secret.tsx | 2 +- src/lib/kit/components/Inputs/TextLink/TextLink.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/kit/components/Inputs/ObjectValueInput/ObjectValueInput.tsx b/src/lib/kit/components/Inputs/ObjectValueInput/ObjectValueInput.tsx index 91640537..67d0581c 100644 --- a/src/lib/kit/components/Inputs/ObjectValueInput/ObjectValueInput.tsx +++ b/src/lib/kit/components/Inputs/ObjectValueInput/ObjectValueInput.tsx @@ -28,7 +28,7 @@ export const ObjectValueInput: ObjectIndependentInput = (props) => { if (spec.properties?.[OBJECT_VALUE_PROPERTY_NAME]) { const childSpec = _.cloneDeep(spec.properties[OBJECT_VALUE_PROPERTY_NAME]); - childSpec.viewSpec.layout = ''; + childSpec.viewSpec.layout = 'transparent'; return childSpec; } diff --git a/src/lib/kit/components/Inputs/Secret/Secret.tsx b/src/lib/kit/components/Inputs/Secret/Secret.tsx index 2ac3a467..10ac1531 100644 --- a/src/lib/kit/components/Inputs/Secret/Secret.tsx +++ b/src/lib/kit/components/Inputs/Secret/Secret.tsx @@ -13,7 +13,7 @@ export const Secret: ObjectIndependentInput = (props) => { if (spec.properties?.[SECRET_PROPERTY_NAME]) { const childSpec = _.cloneDeep(spec.properties?.[SECRET_PROPERTY_NAME]); - childSpec.viewSpec.layout = ''; + childSpec.viewSpec.layout = 'transparent'; return childSpec; } diff --git a/src/lib/kit/components/Inputs/TextLink/TextLink.tsx b/src/lib/kit/components/Inputs/TextLink/TextLink.tsx index de131f3c..89e235c0 100644 --- a/src/lib/kit/components/Inputs/TextLink/TextLink.tsx +++ b/src/lib/kit/components/Inputs/TextLink/TextLink.tsx @@ -37,7 +37,7 @@ export const TextLink: ObjectIndependentInput = (props) => { ) { const childSpec = _.cloneDeep(spec.properties[TEXT_LINK_PROPERTY_NAME]); - childSpec.viewSpec.layout = ''; + childSpec.viewSpec.layout = 'transparent'; return childSpec; }