fix(boot): restore boot-time profile sync after recovery guard (#5001)

This commit is contained in:
Rod Boev authored and nesquena-hermes committed 2026-06-26 22:09:09 +00:00
1 parent 47d24524a1
commit 045bfc8636
3 files changed
+28 -10

No files matched your search

+1
View File
@@ -2319,6 +2319,7 @@ window._applyTitlebarProfileVisibility=_applyTitlebarProfileVisibility;
if (activeProfileState.status === 'recovery-redirect') return;
S.activeProfile = activeProfileState.profile;
S.activeProfileIsDefault = activeProfileState.isDefault;
applyBotName();
// Update profile chip label immediately
const profileLabel=$('profileChipLabel');
if(profileLabel) profileLabel.textContent=S.activeProfile||'default';