[pbs-devel] [PATCH proxmox-backup] ui: tape/ChangerStatus: do not show progress on drive clean
Dominik Csapak
d.csapak at proxmox.com
Tue Feb 23 09:14:41 CET 2021
since we have the state in the grid
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/tape/ChangerStatus.js | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/www/tape/ChangerStatus.js b/www/tape/ChangerStatus.js
index 8be600d8..03317c51 100644
--- a/www/tape/ChangerStatus.js
+++ b/www/tape/ChangerStatus.js
@@ -240,14 +240,8 @@ Ext.define('PBS.TapeManagement.ChangerStatus', {
cleanDrive: function(view, rI, cI, button, el, record) {
let me = this;
- let drive = record.data.name;
- me.driveCommand(drive, 'clean', function(response) {
- Ext.create('Proxmox.window.TaskProgress', {
- upid: response.result.data,
- taskDone: function() {
- me.reload();
- },
- }).show();
+ me.driveCommand(record.data.name, 'clean', function(response) {
+ me.reload();
}, {}, 'PUT');
},
--
2.20.1
More information about the pbs-devel
mailing list