Ver Fonte

11025 fix error tag toast

Arthur há 3 anos atrás
pai
commit
f59c6699f6
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      netbox/utilities/templatetags/helpers.py

+ 1 - 0
netbox/utilities/templatetags/helpers.py

@@ -215,6 +215,7 @@ def status_from_tag(tag: str = "info") -> str:
         'warning': 'warning',
         'success': 'success',
         'error': 'danger',
+        'danger': 'danger',
         'debug': 'info',
         'info': 'info',
     }