mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-12 02:28:17 -06:00
#7564 Fix position0 of a VC not being displayed
This commit is contained in:
parent
e5033c9f55
commit
14f8239dbb
@ -375,7 +375,7 @@ def badge(value, bg_class='secondary', show_empty=False):
|
|||||||
Display the specified number as a badge.
|
Display the specified number as a badge.
|
||||||
"""
|
"""
|
||||||
return {
|
return {
|
||||||
'value': value,
|
'value': str(value),
|
||||||
'bg_class': bg_class,
|
'bg_class': bg_class,
|
||||||
'show_empty': show_empty,
|
'show_empty': show_empty,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user