fix: allow for non-vcs projects in desktop

thinking-toggle-wip
Adam 2025-12-15 14:16:05 -06:00 committed by Aiden Cline
parent 362502cf6f
commit ce7f4c0e6e
1 changed files with 1 additions and 3 deletions

View File

@ -288,9 +288,7 @@ export const { use: useGlobalSync, provider: GlobalSyncProvider } = createSimple
globalSDK.client.project.list().then(async (x) => {
setGlobalStore(
"project",
x
.data!.filter((p) => !p.worktree.includes("opencode-test") && p.vcs)
.sort((a, b) => a.id.localeCompare(b.id)),
x.data!.filter((p) => !p.worktree.includes("opencode-test")).sort((a, b) => a.id.localeCompare(b.id)),
)
}),
globalSDK.client.provider.list().then((x) => {