mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-05-28 17:55:42 +00:00
add ability to sort Diffstore
This commit is contained in:
parent
e877877f5e
commit
71e43f5b3c
@ -5,6 +5,8 @@
|
||||
Ext.define('PVE.data.DiffStore', {
|
||||
extend: 'Ext.data.Store',
|
||||
|
||||
sortAfterUpdate: false,
|
||||
|
||||
constructor: function(config) {
|
||||
var me = this;
|
||||
|
||||
@ -69,6 +71,10 @@ Ext.define('PVE.data.DiffStore', {
|
||||
|
||||
me.filter();
|
||||
|
||||
if (me.sortAfterUpdate) {
|
||||
me.sort();
|
||||
}
|
||||
|
||||
first_load = false;
|
||||
|
||||
me.resumeEvents();
|
||||
|
Loading…
Reference in New Issue
Block a user