mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update startup wizard
This commit is contained in:
parent
1a97ba078c
commit
61cdab9bd1
1 changed files with 6 additions and 1 deletions
|
@ -2290,10 +2290,15 @@ $(document).on('pagecreate', ".page", function () {
|
|||
|
||||
var page = this;
|
||||
|
||||
var isWizardPage = page.classList.contains('wizardPage');
|
||||
Dashboard.ensurePageTitle(page);
|
||||
|
||||
var apiClient = window.ApiClient;
|
||||
|
||||
if (isWizardPage) {
|
||||
require(['jqmicons']);
|
||||
}
|
||||
|
||||
if (apiClient && apiClient.accessToken() && Dashboard.getCurrentUserId()) {
|
||||
|
||||
var isSettingsPage = page.classList.contains('type-interior');
|
||||
|
@ -2323,7 +2328,7 @@ $(document).on('pagecreate', ".page", function () {
|
|||
}
|
||||
}
|
||||
|
||||
if (!isConnectMode && this.id !== "loginPage" && !page.classList.contains('forgotPasswordPage') && !page.classList.contains('wizardPage') && this.id !== 'publicSharedItemPage') {
|
||||
if (!isConnectMode && this.id !== "loginPage" && !page.classList.contains('forgotPasswordPage') && !isWizardPage && this.id !== 'publicSharedItemPage') {
|
||||
|
||||
Logger.log('Not logged into server. Redirecting to login.');
|
||||
Dashboard.logout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue