Makes the column names and the data name in the API consistent.

Signed-off-by: Matthias Heiserer <m.heise...@proxmox.com>
---
 src/window/DiskSmart.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/window/DiskSmart.js b/src/window/DiskSmart.js
index 3c8040b..fc4b2cc 100644
--- a/src/window/DiskSmart.js
+++ b/src/window/DiskSmart.js
@@ -37,13 +37,13 @@ Ext.define('Proxmox.window.DiskSmart', {
                    renderer: Ext.String.htmlEncode,
                },
                {
-                   text: gettext('Value'),
+                   text: gettext('Raw'),
                    dataIndex: 'raw',
                    renderer: Ext.String.htmlEncode,
                },
                {
                    text: gettext('Normalized'),
-                   dataIndex: 'value',
+                   dataIndex: 'normalized',
                    width: 60,
                },
                {
@@ -154,7 +154,7 @@ Ext.define('Proxmox.window.DiskSmart', {
     Ext.define('pmx-smart-attribute', {
        extend: 'Ext.data.Model',
        fields: [
-           { name: 'id', type: 'number' }, 'name', 'value', 'worst', 
'threshold', 'flags', 'fail', 'raw',
+           { name: 'id', type: 'number' }, 'name', 'raw', 'worst', 
'threshold', 'flags', 'fail', 'normalized',
        ],
        idProperty: 'name',
     });
-- 
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