[pbs-devel] [PATCH manager v2 3/3] ui: enable notesedit for pbs

Dominik Csapak d.csapak at proxmox.com
Tue Nov 24 10:09:36 CET 2020


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/grid/BackupView.js | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/www/manager6/grid/BackupView.js b/www/manager6/grid/BackupView.js
index d43f5a3f..28326a79 100644
--- a/www/manager6/grid/BackupView.js
+++ b/www/manager6/grid/BackupView.js
@@ -236,14 +236,6 @@ Ext.define('PVE.grid.BackupView', {
 			xtype: 'proxmoxButton',
 			text: gettext('Edit Notes'),
 			disabled: true,
-			enableFn: function() {
-			    let storageVal = storagesel.getValue();
-			    let storage = storagesel.getStore().findRecord('storage', storageVal);
-			    if (storage) {
-				return storage.data.type !== 'pbs';
-			    }
-			    return true;
-			},
 			handler: function() {
 			    let volid = sm.getSelection()[0].data.volid;
 			    var storage = storagesel.getValue();
-- 
2.20.1






More information about the pbs-devel mailing list