Skip to content

Commit

Permalink
Merge pull request #3287 from makeplane/preview
Browse files Browse the repository at this point in the history
promote: preview to master
  • Loading branch information
sriramveeraghanta committed Dec 29, 2023
2 parents 28a9c53 + 6f0af46 commit 768b4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/cycles/sidebar.tsx
Expand Up @@ -274,7 +274,7 @@ export const CycleDetailsSidebar: React.FC<Props> = observer((props) => {
[workspaceSlug, projectId, cycleId, issueFilters, updateFilters]
);

const cycleStatus = cycleDetails.status.toLocaleLowerCase();
const cycleStatus = cycleDetails?.status.toLocaleLowerCase();
const isCompleted = cycleStatus === "completed";

const isStartValid = new Date(`${cycleDetails?.start_date}`) <= new Date();
Expand Down

0 comments on commit 768b4ab

Please sign in to comment.