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:
parent
226a4e68da
commit
9f8fb928f1
|
@ -681,4 +681,9 @@ Ext.define('PBS.Utils', {
|
||||||
return `${modeText} ${extra}`;
|
return `${modeText} ${extra}`;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
render_optional_namespace: function(value, metadata, record) {
|
||||||
|
if (!value) return '-'; // FIXME ??
|
||||||
|
return Ext.String.htmlEncode(value);
|
||||||
|
},
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue