mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
Merge pull request #3415 from dmitrylyzo/fix-hometab-focus
Fix focus on Home tab
This commit is contained in:
commit
d034ca5ea0
@ -73,8 +73,7 @@ import ServerConnections from '../ServerConnections';
|
|||||||
|
|
||||||
return Promise.all(promises).then(function () {
|
return Promise.all(promises).then(function () {
|
||||||
return resume(elem, {
|
return resume(elem, {
|
||||||
refresh: true,
|
refresh: true
|
||||||
returnPromise: false
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
@ -127,10 +126,7 @@ import ServerConnections from '../ServerConnections';
|
|||||||
promises.push(elems[i].resume(options));
|
promises.push(elems[i].resume(options));
|
||||||
}
|
}
|
||||||
|
|
||||||
const promise = Promise.all(promises);
|
return Promise.all(promises);
|
||||||
if (!options || options.returnPromise !== false) {
|
|
||||||
return promise;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function loadSection(page, apiClient, user, userSettings, userViews, allSections, index) {
|
function loadSection(page, apiClient, user, userSettings, userViews, allSections, index) {
|
||||||
|
Loading…
Reference in New Issue
Block a user