fix(web): sign out ux hide api error

This commit is contained in:
Zack Spear
2023-09-01 16:01:07 -07:00
parent dffc35be74
commit e3c3cb0688
6 changed files with 28 additions and 5 deletions
@@ -48,7 +48,6 @@ const {
refreshServerStateStatus,
username,
} = storeToRefs(serverStore);
/**
* Post sign in success state:
* If we're on the Connect settings page in the webGUI
@@ -145,6 +144,12 @@ const accountActionStatusCopy = computed((): { text: string; } => {
return {
text: props.t('Ready to update Connect account configuration'),
};
case 'waiting':
return {
text: accountAction.value?.type === 'signIn'
? props.t('Signing In')
: props.t('Signing Out'),
};
case 'updating':
return {
text: accountAction.value?.type === 'signIn'