On 02.12.20 13:56, Dominik Csapak wrote: > 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.csa...@proxmox.com> > --- > www/manager6/Utils.js | 41 +++++++++++++++++++++++----------- > www/manager6/dc/StorageView.js | 1 + > www/manager6/storage/Base.js | 3 +-- > 3 files changed, 30 insertions(+), 15 deletions(-) > >
I gave it some thought to finally start the storage schema/capabilities API endpoint we often talked about, but I did not want to rush it and this is way less complicated for now.. applied, thanks! _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel