fix(app): file changes not always available

This commit is contained in:
Adam
2026-02-05 07:04:03 -06:00
parent 5b3d94ebaa
commit aedd85d885

View File

@@ -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