mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix connect return value and promise issue
This commit is contained in:
parent
7560d9abd1
commit
fe54e713f3
2 changed files with 5 additions and 2 deletions
|
@ -145,10 +145,10 @@
|
|||
loadRecentlyAdded(elem, apiClient, user, userViews);
|
||||
}
|
||||
else if (section === 'librarytiles' || section === 'smalllibrarytiles' || section === 'smalllibrarytiles-automobile' || section === 'librarytiles-automobile') {
|
||||
return loadLibraryTiles(elem, apiClient, user, userSettings, 'smallBackdrop', userViews, allSections);
|
||||
loadLibraryTiles(elem, apiClient, user, userSettings, 'smallBackdrop', userViews, allSections);
|
||||
}
|
||||
else if (section === 'librarybuttons') {
|
||||
return loadlibraryButtons(elem, apiClient, user, userSettings, userViews, allSections);
|
||||
loadlibraryButtons(elem, apiClient, user, userSettings, userViews, allSections);
|
||||
}
|
||||
else if (section === 'resume') {
|
||||
loadResumeVideo(elem, apiClient, userId);
|
||||
|
|
|
@ -70,6 +70,9 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
|
|||
case 'ServerSelection':
|
||||
appRouter.showSelectServer();
|
||||
break;
|
||||
case 'ConnectSignIn':
|
||||
appRouter.showWelcome();
|
||||
break;
|
||||
case 'ServerUpdateNeeded':
|
||||
require(['alert'], function (alert) {
|
||||
alert({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue