[pbs-devel] [PATCH proxmox-backup 2/2] ui: dashboard/TaskSummary: add type 'close' to the close tool

Dominik Csapak d.csapak at proxmox.com
Tue Jun 1 15:35:06 CEST 2021


otherwise the button is not visible

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/dashboard/TaskSummary.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/dashboard/TaskSummary.js b/www/dashboard/TaskSummary.js
index a1131f1d..ac2b6292 100644
--- a/www/dashboard/TaskSummary.js
+++ b/www/dashboard/TaskSummary.js
@@ -75,6 +75,7 @@ Ext.define('PBS.TaskSummary', {
 		if (tasklist === undefined) {
 		    tasklist = Ext.create('Ext.grid.Panel', {
 			tools: [{
+			    type: 'close',
 			    handler: () => tasklist.setVisible(false),
 			}],
 			floating: true,
-- 
2.20.1






More information about the pbs-devel mailing list