Skip to content

Commit 5b1a67a

Browse files
moodyjmzclaude
andcommitted
feat(appstore): default-select primary office suite when none is installed
Falls back to the isPrimary suite so the UI shows a pre-selection rather than nothing, without triggering the watcher (watch() is lazy by default). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: James Manuel <moodyjmz@users.noreply.github.com>
1 parent b34d802 commit 5b1a67a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/appstore/src/components/AppstoreBrowse/OfficeSuiteSwitcher.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function getInitialSuite() {
3232
return suite.id
3333
}
3434
}
35-
return null
35+
return OFFICE_SUITES.find((s) => s.isPrimary)?.id ?? null
3636
}
3737
3838
/**

0 commit comments

Comments
 (0)