minhnt-dev: navigation

This commit is contained in:
MoreStrive
2024-06-17 13:20:31 +07:00
parent 3c75c89a8b
commit f17e28472c
7 changed files with 38 additions and 291 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export function buildTree(data: any) {
}
});
return _array.filter(item => !item.parentId);
return _array.filter((item : any) => !item.parentId);
} else {
return []
}