summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-15 14:16:05 -0600
committerAdam <[email protected]>2025-12-15 14:16:08 -0600
commit337a7e96464100b371ff0084bbc43f46d87bd15e (patch)
treecea45c7f7c42416f03e7eebb91aec81ad0829fc6 /packages
parent62cc532eccd99e849567cdecff00a239ae658237 (diff)
downloadopencode-337a7e96464100b371ff0084bbc43f46d87bd15e.tar.gz
opencode-337a7e96464100b371ff0084bbc43f46d87bd15e.zip
fix: allow for non-vcs projects in desktop
Diffstat (limited to 'packages')
-rw-r--r--packages/desktop/src/context/global-sync.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/desktop/src/context/global-sync.tsx b/packages/desktop/src/context/global-sync.tsx
index 77640c090..1b40cd507 100644
--- a/packages/desktop/src/context/global-sync.tsx
+++ b/packages/desktop/src/context/global-sync.tsx
@@ -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) => {