Skip to content

Commit b9c579e

Browse files
committed
Update switchAccount.html
Fixed minor bug in switch account detection for "no account stored" conditions
1 parent 604dccd commit b9c579e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web/SystemAO/advance/switchAccount.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@
286286
</div>`);
287287
return;
288288
}else{
289-
if (data.length > 0){
289+
if (data.length > 1){
290290
data.forEach(function(account){
291291
if (account.Username == currentUserInfo.username){
292292
//Skip

0 commit comments

Comments
 (0)