Kaynağa Gözat

Update switchAccount.html

Fixed minor bug in switch account detection for "no account stored" conditions
Toby Chui 2 yıl önce
ebeveyn
işleme
b9c579eac0
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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