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

@ -47,7 +47,7 @@ Ext.define('PBS.config.ACLView', {
removeACL: function(btn, event, rec) {
let me = this;
Proxmox.Utils.API2Request({
url:'/access/acl',
url: '/access/acl',
method: 'PUT',
params: {
'delete': 1,
@ -58,7 +58,7 @@ Ext.define('PBS.config.ACLView', {
callback: function() {
me.reload();
},
failure: function (response, opts) {
failure: function(response, opts) {
Ext.Msg.alert(gettext('Error'), response.htmlStatus);
},
});

View File

@ -1,11 +1,11 @@
Ext.define('pbs-datastore-list', {
extend: 'Ext.data.Model',
fields: [ 'name', 'comment' ],
fields: ['name', 'comment'],
proxy: {
type: 'proxmox',
url: "/api2/json/admin/datastore"
url: "/api2/json/admin/datastore",
},
idProperty: 'store'
idProperty: 'store',
});
Ext.define('pbs-data-store-config', {
@ -209,7 +209,7 @@ Ext.define('PBS.DataStoreConfig', {
dataIndex: 'keep-yearly',
width: 70,
},
]
],
},
{
header: gettext('Comment'),

View File

@ -1,6 +1,6 @@
Ext.define('pmx-remotes', {
extend: 'Ext.data.Model',
fields: [ 'name', 'host', 'userid', 'fingerprint', 'comment' ],
fields: ['name', 'host', 'userid', 'fingerprint', 'comment'],
idProperty: 'name',
proxy: {
type: 'proxmox',