Select main domain in app install page

This commit is contained in:
Salamandar 2020-06-21 15:12:21 +02:00
parent b8729aa2f2
commit 2220e48c32
2 changed files with 2 additions and 0 deletions

View file

@ -463,6 +463,7 @@
});
});
args[k].choices[params.domains_main].selected = true;
// Custom help link
args[k].helpLink += "<a href='#/domains'>"+y18n.t('manage_domains')+"</a>";
}

View file

@ -14,6 +14,7 @@
req.params.domains = [];
req.api('GET', '/domains', {}, function(data) {
req.params.domains = data.domains;
req.params.domains_main = data.main;
});
}