summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/context/global-sync
diff options
context:
space:
mode:
authorFilip <[email protected]>2026-02-17 16:49:20 +0100
committerGitHub <[email protected]>2026-02-17 21:19:20 +0530
commit46739ca7cd970cf84f88c3f0cf5ca8b756b64f7d (patch)
tree77c7ec866966d7d9982921da8a8b2d0beab390d0 /packages/app/src/context/global-sync
parentd055c1cad6b46bee80909d1feffc87be14598e00 (diff)
downloadopencode-46739ca7cd970cf84f88c3f0cf5ca8b756b64f7d.tar.gz
opencode-46739ca7cd970cf84f88c3f0cf5ca8b756b64f7d.zip
fix(app): ui flashing when switching tabs (#13978)
Diffstat (limited to 'packages/app/src/context/global-sync')
-rw-r--r--packages/app/src/context/global-sync/bootstrap.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/app/src/context/global-sync/bootstrap.ts b/packages/app/src/context/global-sync/bootstrap.ts
index 478bc02f5..40a30cba8 100644
--- a/packages/app/src/context/global-sync/bootstrap.ts
+++ b/packages/app/src/context/global-sync/bootstrap.ts
@@ -116,7 +116,7 @@ export async function bootstrapDirectory(input: {
vcsCache: VcsCache
loadSessions: (directory: string) => Promise<void> | void
}) {
- input.setStore("status", "loading")
+ if (input.store.status !== "complete") input.setStore("status", "loading")
const blockingRequests = {
project: () => input.sdk.project.current().then((x) => input.setStore("project", x.data!.id)),