forked from element-plus/element-plus
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance node management and dependency list integration
- Introduced a computed property `activeNodesSorted` in the `useNode` hook to provide a sorted list of active nodes, improving data handling and UI representation. - Updated the `useDependencyList` hook to utilize the new `activeNodesSorted` property, streamlining the rendering of node tags in the dependency list. - Refactored the node filtering and sorting logic to enhance readability and maintainability. These changes improve the user experience by providing a more efficient way to manage and display active nodes in the dependency list.
- Loading branch information
Marvin Zhang
committed
Dec 30, 2024
1 parent
7aaed0f
commit 4e73858
Showing
2 changed files
with
92 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters