mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-22 16:58:49 +02:00
Remove stale comment in RegisteredActionsWidget
This commit is contained in:
@@ -20,7 +20,6 @@ class RegisteredActionsWidget(forms.CheckboxSelectMultiple):
|
|||||||
def get_context(self, name, value, attrs):
|
def get_context(self, name, value, attrs):
|
||||||
context = super().get_context(name, value, attrs)
|
context = super().get_context(name, value, attrs)
|
||||||
|
|
||||||
# Build model_actions with labels for v2 template
|
|
||||||
model_actions_with_labels = {}
|
model_actions_with_labels = {}
|
||||||
for model_key, actions in self.model_actions.items():
|
for model_key, actions in self.model_actions.items():
|
||||||
app_label, model_name = model_key.split('.')
|
app_label, model_name = model_key.split('.')
|
||||||
|
|||||||
Reference in New Issue
Block a user