missing return icon
This commit is contained in:
parent
475ea434fe
commit
2d8f37963b
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ class SpecificLocation(Location, models.Model):
|
|||
for group in self.groups.all():
|
||||
if group.icon and getattr(group.category, 'allow_' + self.__class__._meta.default_related_name):
|
||||
return group.icon
|
||||
return icon
|
||||
|
||||
|
||||
class LocationGroupCategory(SerializableMixin, models.Model):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue