Skip to content

Commit

Permalink
Merge branch 'main' into onboarding-banner
Browse files Browse the repository at this point in the history
  • Loading branch information
RulaKhaled committed May 17, 2024
2 parents 6efa912 + 788535a commit defe05a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/shared/ListRepo/ReposTable/ReposTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ const ReposTable = ({
})
const isCurrentUserPartOfOrg = ownerData?.isCurrentUserPartOfOrg

const { data: tierName } = useTier({ provider, owner })
const { data: tierName } = useTier({
provider,
owner: owner || userData?.user?.username,
})
const shouldDisplayPublicReposOnly = tierName === TierNames.TEAM ? true : null

const repoDisplay = useContext(ActiveContext)
Expand Down

0 comments on commit defe05a

Please sign in to comment.