ui: some eslint auto-fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2020-09-25 18:29:42 +02:00
parent cfe01b2e6a
commit 65b0cea6bd
6 changed files with 58 additions and 58 deletions

View File

@ -71,11 +71,11 @@ Ext.define('PBS.window.BackupFileDownloader', {
control: {
'proxmoxComboGrid': {
change: 'changeFile'
change: 'changeFile',
},
'button': {
click: 'downloadFile',
}
},
},
},
@ -89,7 +89,7 @@ Ext.define('PBS.window.BackupFileDownloader', {
emptyText: gettext('No file selected'),
fieldLabel: gettext('File'),
store: {
fields: ['filename', 'size', 'crypt-mode',],
fields: ['filename', 'size', 'crypt-mode'],
idProperty: ['filename'],
},
listConfig: {
@ -115,7 +115,7 @@ Ext.define('PBS.window.BackupFileDownloader', {
mode = PBS.Utils.cryptmap.indexOf(value);
}
return PBS.Utils.cryptText[mode] || Proxmox.Utils.unknownText;
}
},
},
],
},
@ -133,7 +133,7 @@ Ext.define('PBS.window.BackupFileDownloader', {
reference: 'encryptedHint',
hidden: true,
value: gettext('Encrypted Files cannot be decoded on the server directly. Please use the client where the decryption key is located.'),
}
},
],
buttons: [

View File

@ -30,8 +30,8 @@ Ext.define('PBS.window.CreateZFS', {
xtype: 'proxmoxcheckbox',
name: 'add-datastore',
fieldLabel: gettext('Add as Datastore'),
value: '1'
}
value: '1',
},
],
column2: [
{
@ -45,8 +45,8 @@ Ext.define('PBS.window.CreateZFS', {
['raid10', 'RAID10'],
['raidz', 'RAIDZ'],
['raidz2', 'RAIDZ2'],
['raidz3', 'RAIDZ3']
]
['raidz3', 'RAIDZ3'],
],
},
{
xtype: 'proxmoxKVComboBox',
@ -59,8 +59,8 @@ Ext.define('PBS.window.CreateZFS', {
['gzip', 'gzip'],
['lz4', 'lz4'],
['lzjb', 'lzjb'],
['zle', 'zle']
]
['zle', 'zle'],
],
},
{
xtype: 'proxmoxintegerfield',
@ -68,8 +68,8 @@ Ext.define('PBS.window.CreateZFS', {
minValue: 9,
maxValue: 16,
value: '12',
name: 'ashift'
}
name: 'ashift',
},
],
columnB: [
{
@ -80,8 +80,8 @@ Ext.define('PBS.window.CreateZFS', {
valueField: 'name',
height: 200,
emptyText: gettext('No Disks unused'),
}
]
},
],
},
{
xtype: 'displayfield',