From 8a06d1935ec83b25c7a66eccbfebb0f11a3cfe2a Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 21 May 2021 18:19:11 +0200 Subject: [PATCH] ui: webauthn view: code cleanup Signed-off-by: Thomas Lamprecht --- www/config/WebauthnView.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/www/config/WebauthnView.js b/www/config/WebauthnView.js index 4da5737c..614ea139 100644 --- a/www/config/WebauthnView.js +++ b/www/config/WebauthnView.js @@ -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(); },