ui: make Datastore clickable again

by showing the previously added pbsDataStores panel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-11-09 16:01:30 +01:00 committed by Thomas Lamprecht
parent 2371c1e371
commit ed1329ecf7

View File

@ -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', {