]> git.proxmox.com Git - pve-manager.git/commitdiff
ui: backups: enable editing notes for Proxmox Backup Server
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 24 Nov 2020 09:09:36 +0000 (10:09 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 Mar 2021 08:20:46 +0000 (09:20 +0100)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/grid/BackupView.js

index 2a496fab676d09aaaaf408c6808728cf02933381..d4f693e801519c0f2482feb93ac6632652862d25 100644 (file)
@@ -239,16 +239,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, 0, false, true, true);
-                           if (storage) {
-                               return storage.data.type !== 'pbs';
-                           }
-                           return true;
-                       },
                        handler: function() {
                            let volid = sm.getSelection()[0].data.volid;
                            var storage = storagesel.getValue();