minhnt-dev: navigation
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ export function buildTree(data: any) {
|
||||
}
|
||||
});
|
||||
|
||||
return _array.filter(item => !item.parentId);
|
||||
return _array.filter((item : any) => !item.parentId);
|
||||
} else {
|
||||
return []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user