mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-06 18:50:36 +00:00
ui: Parser: add printACME
since we decode the domain list in parseACME into an array, we have to join them again to a string when printing otherwise printPropertyString attaches them just with ',' which does not work here Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
c00c4207ea
commit
899c4f4538
@ -5,6 +5,13 @@ Ext.define('PVE.Parser', { statics: {
|
||||
|
||||
// this class only contains static functions
|
||||
|
||||
printACME: function(value) {
|
||||
if (Ext.isArray(value.domains)) {
|
||||
value.domains = value.domains.join(';');
|
||||
}
|
||||
return PVE.Parser.printPropertyString(value);
|
||||
},
|
||||
|
||||
parseACME: function(value) {
|
||||
if (!value) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user