mirror of
https://github.com/langgenius/dify.git
synced 2026-03-08 08:57:37 +08:00
Consolidate menu components by extending NodeMenu to support a 'root' type, eliminating the redundant BlankAreaMenu component. This reduces code duplication and simplifies the context menu logic by storing isFolder in the context menu state instead of re-querying tree data.