mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#3979: UI cleanup
This commit is contained in:
@@ -157,7 +157,7 @@ def simplify_decimal(value):
|
||||
"""
|
||||
if type(value) is not decimal.Decimal:
|
||||
return value
|
||||
return str(value).rstrip('0.')
|
||||
return str(value).rstrip('0').rstrip('.')
|
||||
|
||||
|
||||
@register.filter()
|
||||
|
||||
Reference in New Issue
Block a user