fix: organisation icon not showing properly in top bar select

This commit is contained in:
2026-01-27 21:33:24 +00:00
parent 5b6e85e133
commit 5a8f7a8f40

View File

@@ -48,13 +48,13 @@ export default function TopBar({ showIssueForm = true }: { showIssueForm?: boole
<div className={`flex gap-${BREATHING_ROOM} items-center`}> <div className={`flex gap-${BREATHING_ROOM} items-center`}>
<OrganisationSelect <OrganisationSelect
noDecoration noDecoration
triggerClassName="px-1 rounded-full hover:bg-transparent dark:hover:bg-transparent" triggerClassName="w-8 h-8 ml-1 mr-1 rounded-full hover:bg-transparent dark:hover:bg-transparent"
trigger={ trigger={
<OrgIcon <OrgIcon
name={selectedOrganisation?.Organisation.name ?? ""} name={selectedOrganisation?.Organisation.name ?? ""}
slug={selectedOrganisation?.Organisation.slug ?? ""} slug={selectedOrganisation?.Organisation.slug ?? ""}
iconURL={selectedOrganisation?.Organisation.iconURL || undefined} iconURL={selectedOrganisation?.Organisation.iconURL || undefined}
size={7} size={8}
/> />
} }
/> />