From c05e059cf0b4ed8677205f5bdf4316c1525f0803 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 ( - - ); } }