PluginContentPanel should not call should_render()

This commit is contained in:
Jeremy Stretch
2026-04-03 09:31:38 -04:00
parent 8b5420f2af
commit bab4861103

View File

@@ -392,8 +392,7 @@ class PluginContentPanel(Panel):
self.method = method
def render(self, context):
if not self.should_render(context):
return ''
# Override the default render() method to simply embed rendered plugin content
obj = context.get('object')
return _get_registered_content(obj, self.method, context)