mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-08-05 23:24:40 +00:00
ServerStatus: update column width on state change
when having the settings window (when implemented) open there Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
31f5e45885
commit
5958ebdf29
@ -162,5 +162,13 @@ Ext.define('PMG.ServerStatus', {
|
||||
});
|
||||
|
||||
me.callParent();
|
||||
|
||||
let sp = Ext.state.Manager.getProvider();
|
||||
me.mon(sp, 'statechange', function(provider, key, value) {
|
||||
if (key !== 'summarycolumns') {
|
||||
return;
|
||||
}
|
||||
Proxmox.Utils.updateColumnWidth(me);
|
||||
});
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user