Bug fixes
This commit is contained in:
parent
83802ef6a2
commit
0710685e50
6 changed files with 26 additions and 4 deletions
|
@ -95,6 +95,7 @@ function showAccountSwitcher(){
|
|||
}
|
||||
let thisuser:Localuser;
|
||||
try{
|
||||
console.log(users.users,users.currentuser)
|
||||
thisuser=new Localuser(users.users[users.currentuser]);
|
||||
thisuser.initwebsocket().then(_=>{
|
||||
thisuser.loaduser();
|
||||
|
@ -103,7 +104,8 @@ try{
|
|||
document.getElementById("loading").classList.remove("loading");
|
||||
console.log("done loading")
|
||||
});
|
||||
}catch{
|
||||
}catch(e){
|
||||
console.error(e);
|
||||
document.getElementById("load-desc").textContent="Account unable to start";
|
||||
thisuser=new Localuser(-1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue