Merge pull request #370 from RohitR311/cred_fix
fix: add condition for press actions
This commit is contained in:
@@ -104,7 +104,7 @@ export const RobotEditModal = ({ isOpen, handleStart, handleClose, initialSettin
|
||||
workflow?.forEach(step => {
|
||||
step.what?.forEach(action => {
|
||||
if (
|
||||
(action.action === 'type') &&
|
||||
(action.action === 'type' || action.action === 'press') &&
|
||||
action.args &&
|
||||
action.args[0] &&
|
||||
typeof action.args[0] === 'string'
|
||||
|
||||
Reference in New Issue
Block a user