mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-26 03:53:34 +00:00
use getTotalCount instead of getCount
To prevent heigth change on filtering.
This commit is contained in:
parent
ec549ebc13
commit
ff01fbb35e
@ -8,7 +8,7 @@ Ext.define('PVE.form.ComboGrid', {
|
|||||||
computeHeight: function() {
|
computeHeight: function() {
|
||||||
var me = this;
|
var me = this;
|
||||||
var lh = PVE.Utils.gridLineHeigh();
|
var lh = PVE.Utils.gridLineHeigh();
|
||||||
var count = me.store.getCount();
|
var count = me.store.getTotalCount();
|
||||||
return (count > 10) ? 10*lh : 26+count*lh;
|
return (count > 10) ? 10*lh : 26+count*lh;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user