Compare commits

..

No commits in common. "d2cab2a1c4060ac4a950ddca306cdbf15810ba09" and "2355fa6c177d3ed852ff6e8148dd4a0ac8217e54" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -33,9 +33,9 @@ export const useTreeViewNodes = ({
if (node.disabled) {
return true;
}
while (node && node.parentId != null) {
while (node.parentId != null) {
node = instance.getNode(node.parentId);
if (node?.disabled) {
if (node.disabled) {
return true;
}
}

View File

@ -1,6 +1,6 @@
{
"name": "dipal-x-tree",
"version": "6.17.2",
"version": "6.17.1",
"description": "Customized and fixed version of mui x tree for dipal admina panel project",
"author": "MUI Team",
"main": "./node/index.js",