Use group key

This commit is contained in:
Jakub Trllo 2022-07-12 16:02:13 +02:00 committed by GitHub
parent 2e94247180
commit 48e33db922
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -505,7 +505,7 @@ class CreatedInstance:
@property
def group_label(self):
label = self._data.get("group_label")
label = self._data.get("group")
if label:
return label
return self.creator.get_group_label()