From 5207d7da6f90b0d67130825dafedc0fec6c3764f Mon Sep 17 00:00:00 2001 From: Rohit Date: Thu, 13 Feb 2025 12:11:04 +0530 Subject: [PATCH] feat: default to text if type not specified --- src/components/robot/RobotEdit.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/robot/RobotEdit.tsx b/src/components/robot/RobotEdit.tsx index 86fc5974..1f76c725 100644 --- a/src/components/robot/RobotEdit.tsx +++ b/src/components/robot/RobotEdit.tsx @@ -139,7 +139,7 @@ export const RobotEditModal = ({ isOpen, handleStart, handleClose, initialSettin ) { const selector: string = action.args[0]; const value: string = action.args[1]; - const type: string = action.args[2]; + const type: string = action.args[2] || 'text'; if (!credentials[selector]) { credentials[selector] = {