* fix: projects drop only shows joined project * refactor: removed unused things from header
30 lines
813 B
TypeScript
30 lines
813 B
TypeScript
"use client";
|
|
|
|
import { observer } from "mobx-react";
|
|
import { BarChart2 } from "lucide-react";
|
|
// plane imports
|
|
import { useTranslation } from "@plane/i18n";
|
|
import { Breadcrumbs, Header } from "@plane/ui";
|
|
// components
|
|
import { BreadcrumbLink } from "@/components/common/breadcrumb-link";
|
|
|
|
export const WorkspaceAnalyticsHeader = observer(() => {
|
|
const { t } = useTranslation();
|
|
return (
|
|
<Header>
|
|
<Header.LeftItem>
|
|
<Breadcrumbs>
|
|
<Breadcrumbs.BreadcrumbItem
|
|
type="text"
|
|
link={
|
|
<BreadcrumbLink
|
|
label={t("workspace_analytics.label")}
|
|
icon={<BarChart2 className="h-4 w-4 text-custom-text-300" />}
|
|
/>
|
|
}
|
|
/>
|
|
</Breadcrumbs>
|
|
</Header.LeftItem>
|
|
</Header>
|
|
);
|
|
});
|