]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
fix #3182 #3183: change backup retention mask logic
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 2 Dec 2020 12:56:31 +0000 (13:56 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 2 Dec 2020 17:03:23 +0000 (18:03 +0100)
commit06c8315d86de5d67f523ad1a2afd4c1b7cae882b
tree5b13dd1f6413874de1da2ae02c270b9c38da7a35
parent492d4039a6179eb140015ee6984761300ccd0e10
fix #3182 #3183: change backup retention mask logic

instead of relying on the contentTypeField (which does not need to
exists, e.g. for iscsi), explicitely write it into the panel/icon
mapping and check that

better would be if we query the backend about storage capabilities,
but such an api call does not exist yet, so this should be ok for now

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/Utils.js
www/manager6/dc/StorageView.js
www/manager6/storage/Base.js