mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
Added a config setting to denote completion of the startup wizard
This commit is contained in:
16
MediaBrowser.WebDashboard/Html/scripts/WizardFinishPage.js
Normal file
16
MediaBrowser.WebDashboard/Html/scripts/WizardFinishPage.js
Normal file
@@ -0,0 +1,16 @@
|
||||
var WizardFinishPage = {
|
||||
|
||||
onFinish: function() {
|
||||
|
||||
ApiClient.getServerConfiguration().done(function (config) {
|
||||
|
||||
config.IsStartupWizardCompleted = true;
|
||||
|
||||
ApiClient.updateServerConfiguration(config).done(function() {
|
||||
Dashboard.navigate('dashboard.html');
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user