Skip to content

Commit

Permalink
Update switchAccount.html
Browse files Browse the repository at this point in the history
Fixed minor bug in switch account detection for "no account stored" conditions
  • Loading branch information
tobychui committed Jul 9, 2023
1 parent 604dccd commit b9c579e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/SystemAO/advance/switchAccount.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
</div>`);
return;
}else{
if (data.length > 0){
if (data.length > 1){
data.forEach(function(account){
if (account.Username == currentUserInfo.username){
//Skip
Expand Down

0 comments on commit b9c579e

Please sign in to comment.