diff --git a/inventree_wireviz/wireviz.py b/inventree_wireviz/wireviz.py index dcaba09..d953dd0 100644 --- a/inventree_wireviz/wireviz.py +++ b/inventree_wireviz/wireviz.py @@ -246,7 +246,7 @@ def get_ui_panels(self, request, context=None, **kwargs): except Build.DoesNotExist: part = None - if part and part.get_metadata('wireviz'): + if part: # and part.get_metadata('wireviz'): ctx = self.panel_context_from_instance(part) @@ -255,6 +255,8 @@ def get_ui_panels(self, request, context=None, **kwargs): panels.append({ 'key': 'wireviz', 'title': 'Harness Diagram', + 'description': 'View wire harness diagram', + 'icon': 'ti:topology-star:outline', 'context': ctx, 'source': self.plugin_static_file('WirevizPanel.js:renderWirevizPanel'), })