diff --git a/src/panel/InfoWidget.js b/src/panel/InfoWidget.js index 8005fa8..53c2ec7 100644 --- a/src/panel/InfoWidget.js +++ b/src/panel/InfoWidget.js @@ -54,6 +54,10 @@ Ext.define('Proxmox.widget.Info', { me.getComponent('label').data.iconCls = iconCls; }, + setData: function(data) { + this.updateValue(data.text, data.usage); + }, + updateValue: function(text, usage) { var me = this; var label = me.getComponent('label');