[pbs-devel] [PATCH proxmox-backup 10/10] ui: make Datastore clickable again

Dominik Csapak d.csapak at proxmox.com
Mon Nov 9 16:01:30 CET 2020


by showing the previously added pbsDataStores panel

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

diff --git a/www/NavigationTree.js b/www/NavigationTree.js
index 09c58938..e0270439 100644
--- a/www/NavigationTree.js
+++ b/www/NavigationTree.js
@@ -87,6 +87,7 @@ Ext.define('PBS.store.NavigationStore', {
 		text: gettext('Datastore'),
 		iconCls: 'fa fa-archive',
 		id: 'datastores',
+		path: 'pbsDataStores',
 		expanded: true,
 		expandable: false,
 		leaf: false,
@@ -174,9 +175,6 @@ Ext.define('PBS.view.main.NavigationTree', {
 
     listeners: {
 	itemclick: function(tl, info) {
-	    if (info.node.data.id === 'datastores') {
-		return false;
-	    }
 	    if (info.node.data.id === 'addbutton') {
 		let me = this;
 		Ext.create('PBS.DataStoreEdit', {
-- 
2.20.1






More information about the pbs-devel mailing list