feat: default to text if type not specified

This commit is contained in:
Rohit
2025-02-13 12:11:04 +05:30
parent 8369714a15
commit 5207d7da6f

View File

@@ -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] = {