without the minHeight, the panel does resize weirdly on the first load

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 www/manager6/dc/ACMEClusterView.js | 6 ++++++
 www/manager6/node/ACME.js          | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/www/manager6/dc/ACMEClusterView.js 
b/www/manager6/dc/ACMEClusterView.js
index f3cae866..228d1cf9 100644
--- a/www/manager6/dc/ACMEClusterView.js
+++ b/www/manager6/dc/ACMEClusterView.js
@@ -53,6 +53,9 @@ Ext.define('PVE.dc.ACMEAccountView', {
        },
     },
 
+    minHeight: 150,
+    emptyText: gettext('No Accounts configured'),
+
     columns: [
        {
            dataIndex: 'name',
@@ -133,6 +136,9 @@ Ext.define('PVE.dc.ACMEPluginView', {
        },
     },
 
+    minHeight: 150,
+    emptyText: gettext('No Plugins configured'),
+
     columns: [
        {
            dataIndex: 'plugin',
diff --git a/www/manager6/node/ACME.js b/www/manager6/node/ACME.js
index 0b38f9c7..a2ac35f5 100644
--- a/www/manager6/node/ACME.js
+++ b/www/manager6/node/ACME.js
@@ -346,6 +346,8 @@ Ext.define('PVE.node.ACME', {
     margin: '10 0 0 0',
     title: 'ACME',
 
+    emptyText: gettext('No Domains configured'),
+
     viewModel: {
        data: {
            account: undefined,
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to