From fe54e713f3ed781b08d1b2d9bc8e202e4d091ba2 Mon Sep 17 00:00:00 2001 From: dkanada Date: Sun, 20 Jan 2019 00:39:31 +0900 Subject: [PATCH] fix connect return value and promise issue --- .../emby-webcomponents/homesections/homesections.js | 4 ++-- src/bower_components/emby-webcomponents/router.js | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/bower_components/emby-webcomponents/homesections/homesections.js b/src/bower_components/emby-webcomponents/homesections/homesections.js index 5260d31a9d..a92fa975ed 100644 --- a/src/bower_components/emby-webcomponents/homesections/homesections.js +++ b/src/bower_components/emby-webcomponents/homesections/homesections.js @@ -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); diff --git a/src/bower_components/emby-webcomponents/router.js b/src/bower_components/emby-webcomponents/router.js index e09e5ab5f6..133a326589 100644 --- a/src/bower_components/emby-webcomponents/router.js +++ b/src/bower_components/emby-webcomponents/router.js @@ -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({