[pve-devel] [PATCH manager 4/4] ui: snapshot: show task viewer for progress log

Stefan Reiter s.reiter at proxmox.com
Thu Feb 4 13:52:24 CET 2021


Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
 www/manager6/window/Snapshot.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/manager6/window/Snapshot.js b/www/manager6/window/Snapshot.js
index 2fa97041..a5fddd0f 100644
--- a/www/manager6/window/Snapshot.js
+++ b/www/manager6/window/Snapshot.js
@@ -139,7 +139,8 @@ Ext.define('PVE.window.Snapshot', {
 	if (me.isCreate) {
 	    subject = (me.type === 'qemu' ? 'VM' : 'CT') + me.vmid + ' ' + gettext('Snapshot');
 	    me.method = 'POST';
-	    me.showProgress = true;
+	    me.showProgress = !me.running;
+	    me.showTaskViewer = me.running;
 	} else {
 	    subject = `${gettext('Snapshot')} ${me.snapname}`;
 	    me.url += `/${me.snapname}/config`;
-- 
2.20.1






More information about the pve-devel mailing list