ui: some eslint auto-fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -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);
|
||||
},
|
||||
});
|
||||
|
@ -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'),
|
||||
|
@ -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',
|
||||
|
Reference in New Issue
Block a user