diff --git a/app/dashboard/models.py b/app/dashboard/models.py index 4f2bd3d5942..90efe415672 100644 --- a/app/dashboard/models.py +++ b/app/dashboard/models.py @@ -1892,7 +1892,7 @@ def secondary_avatar_url(self): if self.metadata.get('grant_logo'): return self.metadata['grant_logo'] if self.grant: - return self.grant.logo.url + return self.grant.logo.url if self.grant.logo else None return None @property