Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.nodes = treeData.map(doc => {
this.expandKeys.push(doc.id);
return new NzTreeNode(doc);
});
}
this.nodes = treeNodes.map(doc => {
this.expandKeys.push(doc.id);
return new NzTreeNode(doc);
});
}
this.nodes = treeData.map(doc => {
this.expandKeys.push(doc.id);
return new NzTreeNode(doc);
});
}
return tree.map(node => new NzTreeNode(node));
}
this.nodes = treeData.map(doc => {
this.expandKeys.push(doc.id);
return new NzTreeNode(doc);
});
});
const nodes = tree.map((doc: any) => {
expandKeys.push(doc.key);
return new NzTreeNode(doc);
});
const nodes = tree.map(doc => {
expandKeys.push(doc.key);
return new NzTreeNode(doc);
});
this.nodes = treeData.map(doc => {
this.expandKeys.push(doc.id);
return new NzTreeNode(doc);
});
}
const nodes = treeData.map((doc: any) => {
this.expandKeys.push(doc.id);
return new NzTreeNode(doc);
});
this.nodes = nodes;
return tree.map(node => new NzTreeNode(node));
}