mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Select main domain in app install page
This commit is contained in:
parent
b8729aa2f2
commit
2220e48c32
2 changed files with 2 additions and 0 deletions
|
@ -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>";
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
req.params.domains = [];
|
||||
req.api('GET', '/domains', {}, function(data) {
|
||||
req.params.domains = data.domains;
|
||||
req.params.domains_main = data.main;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue