mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
Merge pull request #196 from jellyfin/fix_promise
Return inner promise in createConnectionManager
This commit is contained in:
commit
1ae37fea1b
@ -275,7 +275,7 @@ var AppInfo = {};
|
|||||||
var credentialProviderInstance = new credentialProvider();
|
var credentialProviderInstance = new credentialProvider();
|
||||||
var promises = [apphost.getSyncProfile(), apphost.init()];
|
var promises = [apphost.getSyncProfile(), apphost.init()];
|
||||||
|
|
||||||
Promise.all(promises).then(function (responses) {
|
return Promise.all(promises).then(function (responses) {
|
||||||
var deviceProfile = responses[0];
|
var deviceProfile = responses[0];
|
||||||
var capabilities = Dashboard.capabilities(apphost);
|
var capabilities = Dashboard.capabilities(apphost);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user