ui: add namespace renderer

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Fabian Grünbichler 2022-05-10 15:01:48 +02:00 committed by Thomas Lamprecht
parent 226a4e68da
commit 9f8fb928f1
1 changed files with 5 additions and 0 deletions

View File

@ -681,4 +681,9 @@ Ext.define('PBS.Utils', {
return `${modeText} ${extra}`;
},
render_optional_namespace: function(value, metadata, record) {
if (!value) return '-'; // FIXME ??
return Ext.String.htmlEncode(value);
},
});