]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
ui: render storage type: improve fallback
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 1 Apr 2022 15:28:36 +0000 (17:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 1 Apr 2022 15:28:38 +0000 (17:28 +0200)
commitd0477f12ad76eabe1aa422e405362f0819cba760
tree551e7df2815d548372bca7095c6847fd7f83e23e
parent349fe2a92a40af110ee0255934aad231dd02c2c7
ui: render storage type: improve fallback

We support external storage plugins, e.g., for proprietary
technology, so a "unknown" value here may not actually mean that we
missed anything, so just return the type value 1:1 as fallback, that
gives the user a better idea about such a storage entry.

Reported-by: Joshua Huber <jhuber@blockbridge.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/Utils.js