It adds visual noise and reduces readability.
This brings the WAL device column in alignment with the DB device column
which is showing whitespace if there is none configured.

Signed-off-by: Aaron Lauterer <a.laute...@proxmox.com>
---
 www/manager6/ceph/OSD.js | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/www/manager6/ceph/OSD.js b/www/manager6/ceph/OSD.js
index 78f226ff..adc35464 100644
--- a/www/manager6/ceph/OSD.js
+++ b/www/manager6/ceph/OSD.js
@@ -516,15 +516,6 @@ Ext.define('PVE.node.CephOsdTree', {
            return text;
        },
 
-       render_wal: function(value, metaData, rec) {
-           if (!value &&
-               rec.data.osdtype === 'bluestore' &&
-               rec.data.type === 'osd') {
-               return 'N/A';
-           }
-           return value;
-       },
-
        render_version: function(value, metadata, rec) {
            let vm = this.getViewModel();
            let versions = vm.get('versions');
@@ -638,7 +629,6 @@ Ext.define('PVE.node.CephOsdTree', {
            text: "WAL Device",
            dataIndex: 'waldev',
            align: 'right',
-           renderer: 'render_wal',
            width: 75,
            hidden: true,
        },
-- 
2.30.2



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

Reply via email to