Ben Lin
2024-10-17 07895c65b99fa43f8e54f5054bd8351a71158143
src/api/tigerapi/system.ts
@@ -316,7 +316,7 @@
 * @param {string} childId
 * @return {*}
 */
export function findParent(tree: any[], nodeId: number): any | undefined {
export function findParent(tree: any[], nodeId: string): any | undefined {
  for (const node of tree) {
      if (node.children) {
          for (const child of node.children) {