mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-12 14:16:55 +00:00
ui: node status: small code size reduction
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
4b832488aa
commit
2f79184cc0
@ -113,7 +113,7 @@ Ext.define('PVE.node.StatusView', {
|
||||
{
|
||||
iconCls: 'fa fa-fw fa-hdd-o',
|
||||
itemId: 'rootfs',
|
||||
title: gettext('HD space') + '(root)',
|
||||
title: '/ ' + gettext('HD space'),
|
||||
valueField: 'rootfs',
|
||||
maxField: 'rootfs',
|
||||
renderer: Proxmox.Utils.render_node_size_usage,
|
||||
@ -162,10 +162,8 @@ Ext.define('PVE.node.StatusView', {
|
||||
colspan: 2,
|
||||
printBar: false,
|
||||
title: gettext('Repository Status'),
|
||||
// for bind
|
||||
setValue: function(value) {
|
||||
let me = this;
|
||||
me.updateValue(value);
|
||||
setValue: function(value) { // for binding below
|
||||
this.updateValue(value);
|
||||
},
|
||||
bind: {
|
||||
value: '{repoStatusMessage}',
|
||||
|
Loading…
Reference in New Issue
Block a user