ui: dashboard/TaskSummary: add type 'close' to the close tool

otherwise the button is not visible

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-06-01 15:35:06 +02:00 committed by Thomas Lamprecht
parent 9594362e35
commit 4c00391d78
1 changed files with 1 additions and 0 deletions

View File

@ -75,6 +75,7 @@ Ext.define('PBS.TaskSummary', {
if (tasklist === undefined) { if (tasklist === undefined) {
tasklist = Ext.create('Ext.grid.Panel', { tasklist = Ext.create('Ext.grid.Panel', {
tools: [{ tools: [{
type: 'close',
handler: () => tasklist.setVisible(false), handler: () => tasklist.setVisible(false),
}], }],
floating: true, floating: true,