mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Provide a *copy* of the page context to pass to plugin (#6496)
This commit is contained in:
parent
43457d4136
commit
04261dbcac
@ -39,6 +39,6 @@ class InvenTreePluginViewMixin:
|
||||
ctx = super().get_context_data(**kwargs)
|
||||
|
||||
if settings.PLUGINS_ENABLED:
|
||||
ctx['plugin_panels'] = self.get_plugin_panels(ctx)
|
||||
ctx['plugin_panels'] = self.get_plugin_panels(ctx.copy())
|
||||
|
||||
return ctx
|
||||
|
Loading…
Reference in New Issue
Block a user