});
},
- rollback: function() { this.snapshotAction('rollback', 'POST'); },
- remove: function() { this.snapshotAction('', 'DELETE'); },
-
+ rollback: function() {
+ this.snapshotAction('rollback', 'POST');
+ },
+ remove: function() {
+ this.snapshotAction('', 'DELETE');
+ },
cancel: function() {
this.load_task.cancel();
},
params: { feature: 'snapshot' },
method: 'GET',
success: function(response, options) {
- var res = response.result.data; vm.set('snapshotFeature', !!res.hasFeature); }
+ let res = response.result.data;
+ vm.set('snapshotFeature', !!res.hasFeature);
+ }
});
},
]
},
columns: [
- {header: gettext('Key'), width: 150, dataIndex: 'key'},
- {header: gettext('Value'), flex: 1, dataIndex: 'value'}
+ {
+ header: gettext('Key'),
+ width: 150,
+ dataIndex: 'key',
+ },
+ {
+ header: gettext('Value'),
+ flex: 1,
+ dataIndex: 'value',
+ }
]
}
];