ui: ceph: fix code indentation in onShow of wizard

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-05 13:42:47 +02:00
parent bbfbf0efe9
commit cd56fd5557

View File

@ -170,12 +170,12 @@ Ext.define('PVE.ceph.CephInstallWizard', {
tp.setActiveTab(initialTab);
},
onShow: function() {
this.callParent(arguments);
var isInstalled = this.getViewModel().get('isInstalled');
if (isInstalled) {
this.getViewModel().set('configuration', false);
this.setInitialTab(2);
}
this.callParent(arguments);
var isInstalled = this.getViewModel().get('isInstalled');
if (isInstalled) {
this.getViewModel().set('configuration', false);
this.setInitialTab(2);
}
},
items: [
{