From 3592feb3d7ccea1cfc880428508bd2059004f972 Mon Sep 17 00:00:00 2001 From: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:35:21 +0530 Subject: [PATCH] fix error meesage on successful error message (#3387) Co-authored-by: Rahul R --- web/components/issues/issue-layouts/roots/cycle-layout-root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/issues/issue-layouts/roots/cycle-layout-root.tsx b/web/components/issues/issue-layouts/roots/cycle-layout-root.tsx index be518ea04..0f32e71c2 100644 --- a/web/components/issues/issue-layouts/roots/cycle-layout-root.tsx +++ b/web/components/issues/issue-layouts/roots/cycle-layout-root.tsx @@ -50,7 +50,7 @@ export const CycleLayoutRoot: React.FC = observer(() => { const activeLayout = issuesFilter?.issueFilters?.displayFilters?.layout; const cycleDetails = cycleId ? getCycleById(cycleId.toString()) : undefined; - const cycleStatus = cycleDetails?.status.toLocaleLowerCase() ?? "draft"; + const cycleStatus = cycleDetails?.status?.toLocaleLowerCase() ?? "draft"; if (!workspaceSlug || !projectId || !cycleId) return <>; return (