Skip to content

Commit

Permalink
Type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch committed Jul 23, 2024
1 parent a1f483c commit 6665ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/components/JiraScopingSearchFilterMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type JiraSearchQuery = {
type Project = {
id: string
name: string
avatar: string
avatar: string | null
}

interface Props {
Expand Down Expand Up @@ -157,7 +157,7 @@ const JiraScopingSearchFilterMenu = (props: Props) => {
active={projectKeyFilters.includes(globalProjectKey)}
disabled={isJQL}
/>
<ProjectAvatar src={avatar} />
<ProjectAvatar src={avatar ?? undefined} />
<TypeAheadLabel query={query} label={name} />
</StyledMenuItemLabel>
}
Expand Down

0 comments on commit 6665ddb

Please sign in to comment.