ui: nav tree: code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-04-12 14:11:18 +02:00
parent bc42bb3c6e
commit f05085ab22

View File

@ -251,9 +251,7 @@ Ext.define('PBS.view.main.NavigationTree', {
let me = this;
Ext.create('PBS.DataStoreEdit', {
listeners: {
destroy: function() {
me.rstore.reload();
},
destroy: () => me.rstore.reload(),
},
}).show();
return false;