Fix one item folders (#442)

This commit is contained in:
0HyperCube
2021-12-31 00:00:31 +00:00
committed by GitHub
parent dfa303a139
commit 4689e47e50

View File

@@ -497,7 +497,7 @@ export default defineComponent({
path.push(BigInt(item.layerId.toString()));
const mapping = cache.get(path.toString());
if (mapping) layers.push(mapping);
if (item.children.length > 1) recurse(item, layers, cache);
if (item.children.length >= 1) recurse(item, layers, cache);
path.pop();
});
}