feat(desktop): show skill issue when snapshotting is off (#16432)

This commit is contained in:
Luke Parker 2026-03-07 14:52:04 +10:00 committed by GitHub
parent 4c7fe60493
commit 1a9af8acb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 3 deletions

View file

@ -495,8 +495,9 @@ export default function Page() {
})
const reviewEmptyKey = createMemo(() => {
const project = sync.project
if (!project || project.vcs) return "session.review.empty"
return "session.review.noVcs"
if (project && !project.vcs) return "session.review.noVcs"
if (sync.data.config.snapshot === false) return "session.review.noSnapshot"
return "session.review.empty"
})
function upsert(next: Project) {