mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
reduce uses of Task.Run
This commit is contained in:
parent
6ef4f0e449
commit
549b78e51d
1 changed files with 1 additions and 12 deletions
|
@ -1,17 +1,6 @@
|
||||||
var WizardStartPage = {
|
var WizardStartPage = {
|
||||||
|
|
||||||
gotoNextPage: function () {
|
gotoNextPage: function () {
|
||||||
|
Dashboard.navigate('wizarduser.html');
|
||||||
ApiClient.getUsers().done(function (users) {
|
|
||||||
|
|
||||||
if (users.length > 1) {
|
|
||||||
|
|
||||||
Dashboard.navigate('wizardlibrary.html');
|
|
||||||
|
|
||||||
} else {
|
|
||||||
Dashboard.navigate('wizarduser.html');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Add table
Add a link
Reference in a new issue