jellyfin-web/Html/scripts/WizardStartPage.js
2013-02-20 20:33:05 -05:00

17 lines
325 B
JavaScript

var WizardStartPage = {
gotoNextPage: function () {
ApiClient.getAllUsers().done(function (users) {
if (users.length > 1) {
Dashboard.navigate('wizardLibrary.html');
} else {
Dashboard.navigate('wizardUser.html');
}
});
}
};