chore: update breadcrumb translation of work item detail page (#6653)

This commit is contained in:
Prateek Shourya 2025-02-20 18:24:13 +05:30 committed by GitHub
parent 8fa45ef9a6
commit c023f7d89b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 10 additions and 2 deletions

View file

@ -3,7 +3,8 @@
import { observer } from "mobx-react";
import { useParams } from "next/navigation";
import { Briefcase } from "lucide-react";
// ui
// plane imports
import { useTranslation } from "@plane/i18n";
import { Breadcrumbs, LayersIcon, Header, Logo } from "@plane/ui";
// components
import { BreadcrumbLink } from "@/components/common";
@ -16,6 +17,8 @@ export const ProjectIssueDetailsHeader = observer(() => {
// router
const router = useAppRouter();
const { workspaceSlug, workItem } = useParams();
// plane hooks
const { t } = useTranslation();
// store hooks
const { getProjectById, loader } = useProject();
const {
@ -61,7 +64,7 @@ export const ProjectIssueDetailsHeader = observer(() => {
link={
<BreadcrumbLink
href={`/${workspaceSlug}/projects/${projectId}/issues`}
label="Issues"
label={t("common.work_items")}
icon={<LayersIcon className="h-4 w-4 text-custom-text-300" />}
/>
}