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
1 changed files with 1 additions and 0 deletions

View File

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