fix: allow for non-vcs projects in desktop
This commit is contained in:
parent
362502cf6f
commit
ce7f4c0e6e
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) => {
|
globalSDK.client.project.list().then(async (x) => {
|
||||||
setGlobalStore(
|
setGlobalStore(
|
||||||
"project",
|
"project",
|
||||||
x
|
x.data!.filter((p) => !p.worktree.includes("opencode-test")).sort((a, b) => a.id.localeCompare(b.id)),
|
||||||
.data!.filter((p) => !p.worktree.includes("opencode-test") && p.vcs)
|
|
||||||
.sort((a, b) => a.id.localeCompare(b.id)),
|
|
||||||
)
|
)
|
||||||
}),
|
}),
|
||||||
globalSDK.client.provider.list().then((x) => {
|
globalSDK.client.provider.list().then((x) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue