mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-16 18:38:25 -07:00
reduce uses of Task.Run
This commit is contained in:
parent
6ef4f0e449
commit
549b78e51d
@ -1,17 +1,6 @@
|
||||
var WizardStartPage = {
|
||||
|
||||
gotoNextPage: function () {
|
||||
|
||||
ApiClient.getUsers().done(function (users) {
|
||||
|
||||
if (users.length > 1) {
|
||||
|
||||
Dashboard.navigate('wizardlibrary.html');
|
||||
|
||||
} else {
|
||||
Dashboard.navigate('wizarduser.html');
|
||||
}
|
||||
});
|
||||
|
||||
Dashboard.navigate('wizarduser.html');
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user