mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-16 16:52:17 -06:00
#19735: Fix get_context() for ObjectAction subclasses
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user