mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 16:31:50 +00:00
fix(app): file changes not always available
This commit is contained in:
parent
5b3d94ebaa
commit
aedd85d885
1 changed files with 1 additions and 1 deletions
|
|
@ -1649,7 +1649,7 @@ export default function Page() {
|
|||
const id = params.id
|
||||
if (!id) return
|
||||
|
||||
const wants = isDesktop() ? layout.fileTree.opened() && fileTreeTab() === "changes" : store.mobileTab === "changes"
|
||||
const wants = isDesktop() ? layout.fileTree.opened() : store.mobileTab === "changes"
|
||||
if (!wants) return
|
||||
if (sync.data.session_diff[id] !== undefined) return
|
||||
if (sync.status === "loading") return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue