mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-20 15:01:48 -05:00
Fix an issue showing attach/detach docs
There's a condition in sub_list_create_api_view.md template that controls whether or not the attach/detach documentation is shown for sublist elements that support it. Looks like it's been this way for a while. This updates that condition to work anywhere it's needed
This commit is contained in:
@@ -2453,7 +2453,6 @@ class JobTemplateLabelList(SubListCreateAttachDetachAPIView, DeleteLastUnattachL
|
||||
serializer_class = LabelSerializer
|
||||
parent_model = JobTemplate
|
||||
relationship = 'labels'
|
||||
parent_key = 'job_template'
|
||||
|
||||
class JobTemplateCallback(GenericAPIView):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user