]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/window/CephInstall.js
ui: eslint: fix trailing comma and comma related whitespaces errors
[pve-manager.git] / www / manager6 / window / CephInstall.js
index d6aa7ccd313b1f4d91c297c64a9891eaa68f472c..2f8e64f257875eeba68e27adf72f900fe6f4156b 100644 (file)
@@ -18,19 +18,18 @@ Ext.define('PVE.ceph.Install', {
     layout: {
         align: 'stretch',
         pack: 'center',
-       type: 'vbox'
+       type: 'vbox',
     },
     viewModel: {
        data: {
-             cephVersion: 'nautilus',
-             isInstalled: false
+             isInstalled: false,
        },
        formulas: {
            buttonText: function (get){
                if (get('isInstalled')) {
                    return gettext('Configure Ceph');
                } else {
-                   return gettext('Install Ceph-') + get('cephVersion');
+                   return gettext('Install Ceph');
                }
            },
            windowText: function (get) {
@@ -43,41 +42,41 @@ Ext.define('PVE.ceph.Install', {
                    Ext.String.format(gettext('{0} is not installed on this node.'), 'Ceph') + '<br>' +
                    gettext('Would you like to install it now?') + '</p>';
                }
-           }
-       }
+           },
+       },
     },
     items: [
        {
            bind: {
-               html: '{windowText}'
+               html: '{windowText}',
            },
            border: false,
            padding: 5,
-           bodyCls: 'install-mask'
+           bodyCls: 'install-mask',
 
        },
        {
            xtype: 'button',
            bind: {
-               text: '{buttonText}'
+               text: '{buttonText}',
            },
            viewModel: {},
            cbind: {
-               nodename: '{nodename}'
+               nodename: '{nodename}',
            },
            handler: function() {
                var me = this.up('pveCephInstallWindow');
-               var win = Ext.create('PVE.ceph.CephInstallWizard',{
-                   nodename: me.nodename
+               var win = Ext.create('PVE.ceph.CephInstallWizard', {
+                   nodename: me.nodename,
                });
                win.getViewModel().set('isInstalled', this.getViewModel().get('isInstalled'));
                win.show();
-               me.mon(win,'beforeClose', function(){
+               me.mon(win, 'beforeClose', function(){
                    me.fireEvent("cephInstallWindowClosed");
                    me.close();
                });
 
-           }
-       }
-    ]
+           },
+       },
+    ],
 });