diff --git a/apps/web/ce/components/breadcrumbs/project.tsx b/apps/web/ce/components/breadcrumbs/project.tsx index 00c815cdc..1beab197a 100644 --- a/apps/web/ce/components/breadcrumbs/project.tsx +++ b/apps/web/ce/components/breadcrumbs/project.tsx @@ -37,7 +37,9 @@ export const ProjectBreadcrumb = observer((props: TProjectBreadcrumbProps) => { return { value: projectId, query: project?.name, - content: , + content: ( + + ), }; }) .filter((option) => option !== undefined) as ICustomSearchSelectOption[]; diff --git a/apps/web/core/components/common/switcher-label.tsx b/apps/web/core/components/common/switcher-label.tsx index d1f1fc4bc..7cca4c908 100644 --- a/apps/web/core/components/common/switcher-label.tsx +++ b/apps/web/core/components/common/switcher-label.tsx @@ -8,11 +8,18 @@ type TSwitcherIconProps = { logo_url?: string; LabelIcon: FC; size?: number; + type?: "lucide" | "material"; }; -export const SwitcherIcon: FC = ({ logo_props, logo_url, LabelIcon, size = 12 }) => { +export const SwitcherIcon: FC = ({ + logo_props, + logo_url, + LabelIcon, + size = 12, + type = "lucide", +}) => { if (logo_props?.in_use) { - return ; + return ; } if (logo_url) { @@ -33,13 +40,14 @@ type TSwitcherLabelProps = { logo_url?: string; name?: string; LabelIcon: FC; + type?: "lucide" | "material"; }; export const SwitcherLabel: FC = (props) => { - const { logo_props, name, LabelIcon, logo_url } = props; + const { logo_props, name, LabelIcon, logo_url, type = "lucide" } = props; return (
- + {truncateText(name ?? "", 40)}
);