update shared components
This commit is contained in:
parent
8bada4146e
commit
57d96ea95d
6 changed files with 41 additions and 15 deletions
|
@ -80,6 +80,18 @@
|
|||
});
|
||||
};
|
||||
|
||||
self.isLoggedIn = function() {
|
||||
|
||||
var info = self.serverInfo();
|
||||
if (info) {
|
||||
if (info.UserId && info.AccessToken) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
/**
|
||||
* Gets or sets the current user id.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue