Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Nov 27, 2024
1 parent afe0d5c commit a05975e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions posthog/admin/admins/group_type_mapping_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class GroupTypeMappingAdmin(admin.ModelAdmin):

@admin.display(description="Team")
def team_link(self, group_type_mapping: GroupTypeMapping):
if group_type_mapping.team is None:
return None
return format_html(
'<a href="/admin/posthog/team/{}/change/">{}</a>',
group_type_mapping.team.pk,
Expand Down

0 comments on commit a05975e

Please sign in to comment.