n8n/packages
Milorad FIlipović 39e45d8b92
fix(editor): Prevent canvas undo/redo when NDV is open (#8118)
## Summary
Preventing canvas undo/redo while NDV or any modal is open. We already
had a NDV open check in place but looks like it was broken by unreactive
ref inside `useHistoryHelper` composable.
This PR fixes this by using store getter directly inside the helper
method and adds modal open check.

## Related tickets and issues
Fixes ADO-657

## Review / Merge checklist
- [ ] PR title and summary are descriptive. **Remember, the title
automatically goes into the changelog. Use `(no-changelog)` otherwise.**
([conventions](https://github.com/n8n-io/n8n/blob/master/.github/pull_request_title_conventions.md))
- [ ] [Docs updated](https://github.com/n8n-io/n8n-docs) or follow-up
ticket created.
- [ ] Tests included.
> A bug is not considered fixed, unless a test is added to prevent it
from happening again.
   > A feature is not complete without tests.
2023-12-22 08:42:53 +01:00
..
@n8n feat(core): Add closeFunction support to Sub-Nodes (#7708) 2023-12-21 14:21:09 +01:00
@n8n_io/eslint-config ci: Add lint rule no-dynamic-import-template (no-changelog) (#8089) 2023-12-21 14:15:37 +01:00
cli fix(core): Remove circular dependency in WorkflowService and ActiveWorkflowRunner (#8128) 2023-12-21 17:37:08 +01:00
core feat(core): Add closeFunction support to Sub-Nodes (#7708) 2023-12-21 14:21:09 +01:00
design-system 🚀 Release 1.22.0 (#8115) 2023-12-21 13:51:24 +01:00
editor-ui fix(editor): Prevent canvas undo/redo when NDV is open (#8118) 2023-12-22 08:42:53 +01:00
node-dev 🚀 Release 1.22.0 (#8115) 2023-12-21 13:51:24 +01:00
nodes-base fix(Asana Node): Omit body from GET, HEAD, and DELETE requests (#8057) 2023-12-21 19:21:08 +01:00
workflow feat(core): Add closeFunction support to Sub-Nodes (#7708) 2023-12-21 14:21:09 +01:00