mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-09 17:18:16 -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.
|
||||
"""
|
||||
return {
|
||||
'value': value,
|
||||
'value': str(value),
|
||||
'bg_class': bg_class,
|
||||
'show_empty': show_empty,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user