From de8c3df284052cfda3a5a01fbd3bb2d742f6e509 Mon Sep 17 00:00:00 2001 From: James Manuel Date: Thu, 28 May 2026 10:18:18 +0200 Subject: [PATCH] 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 Signed-off-by: James Manuel --- .../src/components/AppstoreBrowse/OfficeSuiteSwitcher.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/appstore/src/components/AppstoreBrowse/OfficeSuiteSwitcher.vue b/apps/appstore/src/components/AppstoreBrowse/OfficeSuiteSwitcher.vue index 88503ee2ad8..33d5a138874 100644 --- a/apps/appstore/src/components/AppstoreBrowse/OfficeSuiteSwitcher.vue +++ b/apps/appstore/src/components/AppstoreBrowse/OfficeSuiteSwitcher.vue @@ -32,7 +32,7 @@ function getInitialSuite() { return suite.id } } - return null + return OFFICE_SUITES.find((s) => s.isPrimary)?.id ?? null } /**