mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-14 07:38:37 -05:00
delete label on last disassociate
This commit is contained in:
+1
-1
@@ -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