From 899c4f453855193f0aab277768aa306a5bfac090 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Wed, 6 May 2020 16:31:09 +0200 Subject: [PATCH] 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 --- www/manager6/Parser.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/www/manager6/Parser.js b/www/manager6/Parser.js index 4cecb3e1..20d81d4a 100644 --- a/www/manager6/Parser.js +++ b/www/manager6/Parser.js @@ -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;