1
0
Fork 0
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:
dkanada 2019-01-20 00:39:31 +09:00
parent 7560d9abd1
commit fe54e713f3
2 changed files with 5 additions and 2 deletions

View file

@ -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);

View file

@ -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({