From 8d1b2fddab4d27ee1577b20a7fa3feb0b85afbd6 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Wed, 16 Oct 2024 09:50:24 +0000 Subject: [PATCH] Fix return data --- inventree_wireviz/wireviz.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inventree_wireviz/wireviz.py b/inventree_wireviz/wireviz.py index 1d80bf9..dcaba09 100644 --- a/inventree_wireviz/wireviz.py +++ b/inventree_wireviz/wireviz.py @@ -253,8 +253,8 @@ def get_ui_panels(self, request, context=None, **kwargs): ctx['part'] = part.pk panels.append({ - 'name': 'wireviz', - 'label': 'Harness Diagram', + 'key': 'wireviz', + 'title': 'Harness Diagram', 'context': ctx, 'source': self.plugin_static_file('WirevizPanel.js:renderWirevizPanel'), })