diff --git a/web/components/issues/issue-layouts/kanban/roots/profile-issues-root.tsx b/web/components/issues/issue-layouts/kanban/roots/profile-issues-root.tsx index 4b3f3fe83..2e189c9f4 100644 --- a/web/components/issues/issue-layouts/kanban/roots/profile-issues-root.tsx +++ b/web/components/issues/issue-layouts/kanban/roots/profile-issues-root.tsx @@ -28,7 +28,7 @@ export const ProfileIssuesKanBanLayout: React.FC = observer(() => { [EIssueActions.UPDATE]: async (issue: TIssue) => { if (!workspaceSlug || !userId) return; - await issues.updateIssue(workspaceSlug, userId, issue.id, issue); + await issues.updateIssue(workspaceSlug, issue.project_id, issue.id, issue, userId); }, [EIssueActions.DELETE]: async (issue: TIssue) => { if (!workspaceSlug || !userId) return; diff --git a/web/components/issues/issue-layouts/list/roots/profile-issues-root.tsx b/web/components/issues/issue-layouts/list/roots/profile-issues-root.tsx index 1e7e364d5..91e80382a 100644 --- a/web/components/issues/issue-layouts/list/roots/profile-issues-root.tsx +++ b/web/components/issues/issue-layouts/list/roots/profile-issues-root.tsx @@ -29,7 +29,7 @@ export const ProfileIssuesListLayout: FC = observer(() => { [EIssueActions.UPDATE]: async (issue: TIssue) => { if (!workspaceSlug || !userId) return; - await issues.updateIssue(workspaceSlug, userId, issue.id, issue); + await issues.updateIssue(workspaceSlug, issue.project_id, issue.id, issue, userId); }, [EIssueActions.DELETE]: async (issue: TIssue) => { if (!workspaceSlug || !userId) return; diff --git a/web/components/issues/issue-layouts/properties/labels.tsx b/web/components/issues/issue-layouts/properties/labels.tsx index 0a33ed886..0f121bed7 100644 --- a/web/components/issues/issue-layouts/properties/labels.tsx +++ b/web/components/issues/issue-layouts/properties/labels.tsx @@ -82,17 +82,17 @@ export const IssuePropertyLabels: React.FC = observer((pro if (storeLabels && storeLabels.length > 0) projectLabels = storeLabels; const options = projectLabels.map((label) => ({ - value: label.id, - query: label.name, + value: label?.id, + query: label?.name, content: (
-
{label.name}
+
{label?.name}
), })); @@ -106,11 +106,11 @@ export const IssuePropertyLabels: React.FC = observer((pro value.length <= maxRender ? ( <> {projectLabels - ?.filter((l) => value.includes(l.id)) + ?.filter((l) => value.includes(l?.id)) .map((label) => ( - +
= observer((pro backgroundColor: label?.color ?? "#000000", }} /> -
{label.name}
+
{label?.name}
@@ -138,8 +138,8 @@ export const IssuePropertyLabels: React.FC = observer((pro position="top" tooltipHeading="Labels" tooltipContent={projectLabels - ?.filter((l) => value.includes(l.id)) - .map((l) => l.name) + ?.filter((l) => value.includes(l?.id)) + .map((l) => l?.name) .join(", ")} >
diff --git a/web/components/project/sidebar-list.tsx b/web/components/project/sidebar-list.tsx index 24735e506..5452c861d 100644 --- a/web/components/project/sidebar-list.tsx +++ b/web/components/project/sidebar-list.tsx @@ -206,7 +206,7 @@ export const ProjectSidebarList: FC = observer(() => { type="button" className="group flex w-full items-center gap-1 whitespace-nowrap rounded px-1.5 text-left text-sm font-semibold text-custom-sidebar-text-400 hover:bg-custom-sidebar-background-80" > - Projects + Your projects {open ? ( ) : (