Skip to content

Commit

Permalink
fix: resolved the issue of undo/redo not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Siykt authored Sep 12, 2023
1 parent e1d8721 commit 62fe84b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newtab/pages/workflows/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ function onKeydown({ ctrlKey, metaKey, shiftKey, key, target, repeat }) {
} else if (command('v')) {
pasteCopiedElements();
} else if (command('z')) {
undoRedoCommand(shiftKey ? 'redo' : 'undo');
undoRedoCommand(shiftKey ? 'redo' : 'undo', { target });
}
}
async function fetchConnectedTable() {
Expand Down

0 comments on commit 62fe84b

Please sign in to comment.