Explorar el Código

fix: workflow shortcuts (#21164)

tags/1.5.0
zxhlyh hace 4 meses
padre
commit
dbae5b0564
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      web/app/components/workflow/hooks/use-shortcuts.ts

+ 1
- 1
web/app/components/workflow/hooks/use-shortcuts.ts Ver fichero

@@ -61,7 +61,7 @@ export const useShortcuts = (): void => {
return !showFeaturesPanel && !isEventTargetInputArea(e.target as HTMLElement)
}, [workflowStore])

useKeyPress(['delete'], (e) => {
useKeyPress(['delete', 'backspace'], (e) => {
if (shouldHandleShortcut(e)) {
e.preventDefault()
handleNodesDelete()

Cargando…
Cancelar
Guardar