Parcourir la source

Update switchAccount.html

Fixed minor bug in switch account detection for "no account stored" conditions
Toby Chui il y a 2 ans
Parent
commit
b9c579eac0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/web/SystemAO/advance/switchAccount.html

+ 1 - 1
src/web/SystemAO/advance/switchAccount.html

@@ -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