update shared components

This commit is contained in:
Luke Pulverenti 2016-03-15 00:00:17 -04:00
parent 8bada4146e
commit 57d96ea95d
6 changed files with 41 additions and 15 deletions

View file

@ -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.
*/