mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: allow for non-vcs projects in desktop
This commit is contained in:
parent
62cc532ecc
commit
337a7e9646
1 changed files with 1 additions and 3 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue