We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b345cb2 commit d13d662Copy full SHA for d13d662
1 file changed
apps/sim/lib/logs/filters.ts
@@ -162,7 +162,7 @@ export async function expandFolderIdsWithDescendants(
162
const expanded = new Set<string>(seedIds)
163
const queue = [...seedIds]
164
while (queue.length > 0) {
165
- const current = queue.shift() as string
+ const current = queue.pop() as string
166
const children = childrenByParent.get(current)
167
if (!children) continue
168
for (const childId of children) {
0 commit comments