remember colasped catagories
This commit is contained in:
parent
c2d657d889
commit
a47772dd01
8 changed files with 91 additions and 8 deletions
|
@ -111,6 +111,7 @@ class Specialuser{
|
|||
this.token=json.token;
|
||||
this.loggedin=json.loggedin;
|
||||
this.json=json;
|
||||
this.json.localuserStore??={};
|
||||
if(!this.serverurls||!this.email||!this.token){
|
||||
console.error("There are fundamentally missing pieces of info missing from this user");
|
||||
}
|
||||
|
@ -130,6 +131,13 @@ class Specialuser{
|
|||
get username(){
|
||||
return this.json.username;
|
||||
}
|
||||
set localuserStore(e){
|
||||
this.json.localuserStore=e;
|
||||
this.updateLocal();
|
||||
}
|
||||
get localuserStore(){
|
||||
return this.json.localuserStore;
|
||||
}
|
||||
get uid(){
|
||||
return this.email+this.serverurls.wellknown;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue