mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
fix: organisation icon not showing properly in top bar select
This commit is contained in:
@@ -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}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user