ui: webauthn view: code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-05-21 18:19:11 +02:00
parent f44254b4bd
commit 8a06d1935e
1 changed files with 1 additions and 4 deletions

View File

@ -33,10 +33,7 @@ Ext.define('PBS.WebauthnConfigView', {
controller: {
xclass: 'Ext.app.ViewController',
runEditor: function() {
let win = Ext.create('PBS.WebauthnConfigEdit');
win.show();
},
runEditor: () => Ext.create('PBS.WebauthnConfigEdit', { autoShow: true }),
startStore: function() { this.getView().getStore().rstore.startUpdate(); },
stopStore: function() { this.getView().getStore().rstore.stopUpdate(); },