From 68dbd3b50287c323a1a955bb9da3134bd3d0d1ae Mon Sep 17 00:00:00 2001 From: Aditya Thebe Date: Wed, 25 Dec 2024 16:59:53 +0545 Subject: [PATCH] feat(playbook): better parameter default handling --- .../Playbooks/Runs/Submit/PlaybookParamsFieldsRenderer.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/Playbooks/Runs/Submit/PlaybookParamsFieldsRenderer.tsx b/src/components/Playbooks/Runs/Submit/PlaybookParamsFieldsRenderer.tsx index b6117c894..549536ed6 100644 --- a/src/components/Playbooks/Runs/Submit/PlaybookParamsFieldsRenderer.tsx +++ b/src/components/Playbooks/Runs/Submit/PlaybookParamsFieldsRenderer.tsx @@ -95,6 +95,7 @@ export default function PlaybookParamsFieldsRenderer({ /> ); case "text": + default: if (params.properties?.multiline) { return ( ); - default: - return ( - - ); } }