mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-05-11 13:51:42 +00:00
api-viewer: show min/max for values without any other format
Signed-off-by: Matthias Heiserer <m.heiserer@proxmox.com>
This commit is contained in:
parent
7148e22691
commit
28a000898f
@ -119,6 +119,9 @@ Ext.onReady(function() {
|
|||||||
if (type_fallback && pdef.type) {
|
if (type_fallback && pdef.type) {
|
||||||
return `<${pdef.type}>`;
|
return `<${pdef.type}>`;
|
||||||
}
|
}
|
||||||
|
if (pdef.minimum || pdef.maximum) {
|
||||||
|
return `${pdef.minimum || 'N'} - ${pdef.maximum || 'N'}`;
|
||||||
|
}
|
||||||
return '';
|
return '';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user