Skip to content

Commit c0af7fa

Browse files
authored
Merge pull request #370 from RohitR311/cred_fix
fix: add condition for press actions
2 parents 79558b3 + bcfe314 commit c0af7fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/robot/RobotEdit.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export const RobotEditModal = ({ isOpen, handleStart, handleClose, initialSettin
104104
workflow?.forEach(step => {
105105
step.what?.forEach(action => {
106106
if (
107-
(action.action === 'type') &&
107+
(action.action === 'type' || action.action === 'press') &&
108108
action.args &&
109109
action.args[0] &&
110110
typeof action.args[0] === 'string'

0 commit comments

Comments
 (0)