mirror of
https://github.com/ansible/awx.git
synced 2026-03-17 08:57:33 -02:30
delete label on last disassociate
This commit is contained in:
@@ -3359,7 +3359,7 @@ class NotificationDetail(RetrieveAPIView):
|
||||
serializer_class = NotificationSerializer
|
||||
new_in_300 = True
|
||||
|
||||
class LabelList(ListCreateAPIView):
|
||||
class LabelList(ListCreateAPIView, DeleteLastUnattachLabelMixin):
|
||||
|
||||
model = Label
|
||||
serializer_class = LabelSerializer
|
||||
|
||||
Reference in New Issue
Block a user