Skip to content

Commit

Permalink
FIx for source file
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Sep 30, 2024
1 parent 41c8007 commit 683bdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inventree_wireviz/wireviz.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def get_ui_panels(self, instance_type, instance_id, request, **kwargs):
'name': 'wireviz',
'label': 'Harness Diagram',
'context': ctx,
'source': f'/static/plugin/{self.SLUG}/WirevizPanel.js',
'source': self.plugin_static_file('WirevizPanel.js'),
})

return panels
Expand Down

0 comments on commit 683bdfc

Please sign in to comment.