Explorar o código

Fix device component changelog display

Jeremy Stretch %!s(int64=5) %!d(string=hai) anos
pai
achega
8695714c65
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      netbox/extras/views.py

+ 1 - 0
netbox/extras/views.py

@@ -296,6 +296,7 @@ class ObjectChangeLogView(View):
 
         return render(request, 'extras/object_changelog.html', {
             object_var: obj,
+            'instance': obj,  # We'll eventually standardize on 'instance` for the object variable name
             'table': objectchanges_table,
             'base_template': base_template,
             'active_tab': 'changelog',