Provide a *copy* of the page context to pass to plugin (#6496)

This commit is contained in:
Oliver authored and GitHub committed 2024-02-16 11:00:51 +11:00
1 parent 43457d4136
commit 04261dbcac
1 file changed
+1 -1
+1 -1
View File
@@ -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