fix(session): respect directory filter with workspaces (#30804)

This commit is contained in:
mridul
2026-06-06 03:11:32 +05:30
committed by GitHub
parent d5b205657f
commit 015e79fa59
2 changed files with 30 additions and 5 deletions
+1 -1
View File
@@ -1013,7 +1013,7 @@ function listByProject(
: or(...conds)!,
)
}
} else if (input.scope !== "project" && !input.experimentalWorkspaces) {
} else if (input.scope !== "project") {
if (input.directory) {
conditions.push(eq(SessionTable.directory, input.directory))
}