[pbs-devel] [PATCH proxmox-backup 1/2] ui: use task list component from widget toolkit

Dominik Csapak d.csapak at proxmox.com
Thu Jun 24 09:18:07 CEST 2021


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/ServerAdministration.js | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/www/ServerAdministration.js b/www/ServerAdministration.js
index 0d803ac4..61b8246d 100644
--- a/www/ServerAdministration.js
+++ b/www/ServerAdministration.js
@@ -61,12 +61,21 @@ Ext.define('PBS.ServerAdministration', {
 	    url: "/api2/extjs/nodes/localhost/journal",
 	},
 	{
-	    xtype: 'pbsNodeTasks',
+	    xtype: 'proxmoxNodeTasks',
 	    itemId: 'tasks',
 	    iconCls: 'fa fa-list-alt',
 	    title: gettext('Tasks'),
 	    height: 'auto',
 	    nodename: 'localhost',
+	    extraFilter: [
+		{
+		    xtype: 'pbsDataStoreSelector',
+		    fieldLabel: gettext('Datastore'),
+		    emptyText: gettext('All'),
+		    name: 'store',
+		    allowBlank: true,
+		},
+	    ],
 	},
     ],
 });
-- 
2.20.1






More information about the pbs-devel mailing list