fix: persist active workspace selection
This is observed particularly in the cloud offering. The proposed changes ensure the relevant login state is confirmed before the network call, maintaining backwards compatibility with SH.
This commit is contained in:
parent
d3f0e8303a
commit
e6fee11305
1 changed files with 6 additions and 0 deletions
|
|
@ -65,6 +65,12 @@ export default class TeamListAdapter {
|
|||
|
||||
this.loading$.next(true)
|
||||
|
||||
const probableUser = platform.auth.getProbableUser()
|
||||
|
||||
if (probableUser !== null) {
|
||||
await platform.auth.waitProbableLoginToConfirm()
|
||||
}
|
||||
|
||||
const results: GetMyTeamsQuery["myTeams"] = []
|
||||
|
||||
while (true) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue