mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-27 14:16:02 +00:00
[PUI] Panels plugin fix (#8147)
* Rename "get_custom_panels" method - So that PUI plugin does not conflict with CUI plugin * Update docstrings * Rename "get_ui_panels" -> "ui_panels" * Docs fix * rename "ui_panels" -> "get_ui_panels"
This commit is contained in:
@@ -44,7 +44,7 @@ class SampleUserInterfacePlugin(SettingsMixin, UserInterfaceMixin, InvenTreePlug
|
||||
},
|
||||
}
|
||||
|
||||
def get_custom_panels(self, instance_type: str, instance_id: int, request):
|
||||
def get_ui_panels(self, instance_type: str, instance_id: int, request, **kwargs):
|
||||
"""Return a list of custom panels to be injected into the UI."""
|
||||
panels = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user