1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

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

@ -16,12 +16,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.0.44",
"_release": "1.0.44",
"version": "1.0.45",
"_release": "1.0.45",
"_resolution": {
"type": "version",
"tag": "1.0.44",
"commit": "31d79dade27d28bad1c45ad30da03550493c17ca"
"tag": "1.0.45",
"commit": "b49575b7ace02784d060db167c17e92deec3512e"
},
"_source": "git://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
"_target": "~1.0.3",

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