#19735: Fix get_context() for ObjectAction subclasses

This commit is contained in:
Jeremy Stretch
2025-08-13 10:46:17 -04:00
parent 5df4c63f28
commit 012cf3ffbf
4 changed files with 20 additions and 20 deletions

View File

@@ -20,10 +20,7 @@ class BulkAddComponents(ObjectAction):
@classmethod
def get_context(cls, context, obj):
return {
'perms': context.get('perms'),
'request': context.get('request'),
'formaction': context.get('formaction'),
'label': cls.label,
}