mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-24 01:28:35 +02:00
Remove console log
This commit is contained in:
@@ -121,7 +121,6 @@ export function Sidebar({ className }: Props) {
|
|||||||
childItems.sort((a, b) => a.sortPriority - b.sortPriority);
|
childItems.sort((a, b) => a.sortPriority - b.sortPriority);
|
||||||
const depth = node.depth + 1;
|
const depth = node.depth + 1;
|
||||||
for (const item of childItems) {
|
for (const item of childItems) {
|
||||||
console.log('ADD ITEM', item.id, item);
|
|
||||||
treeParentMap[item.id] = node;
|
treeParentMap[item.id] = node;
|
||||||
node.children.push(next({ item, children: [], depth }));
|
node.children.push(next({ item, children: [], depth }));
|
||||||
if (item.model !== 'folder') {
|
if (item.model !== 'folder') {
|
||||||
|
|||||||
Reference in New Issue
Block a user