mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-05 06:01:47 -05:00
Merge pull request #1690 from chrismeyersfsu/fix-labels_disassociate
delete label on last disassociate
This commit is contained in:
@@ -2282,7 +2282,7 @@ class JobTemplateNotifiersSuccessList(SubListCreateAttachDetachAPIView):
|
||||
parent_model = JobTemplate
|
||||
relationship = 'notifiers_success'
|
||||
|
||||
class JobTemplateLabelList(SubListCreateAttachDetachAPIView):
|
||||
class JobTemplateLabelList(SubListCreateAttachDetachAPIView, DeleteLastUnattachLabelMixin):
|
||||
|
||||
model = Label
|
||||
serializer_class = LabelSerializer
|
||||
|
||||
Reference in New Issue
Block a user