ui: utils: add depreacation comment to render_size_usage

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-17 10:17:32 +02:00
parent d0e3f5dd5c
commit f61d822efa

View File

@ -294,6 +294,7 @@ Ext.define('PBS.Utils', {
return Ext.String.format(gettext("in {0}"), duration);
},
// FIXME: depreacted by Proxmox.Utils.render_size_usage ?!
render_size_usage: function(val, max) {
if (max === 0) {
return gettext('N/A');