Explorar o código

Update switchAccount.html

Fixed minor bug in switch account detection for "no account stored" conditions
Toby Chui %!s(int64=2) %!d(string=hai) anos
pai
achega
b9c579eac0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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