Skip to content

Commit

Permalink
Merge pull request #3286 from makeplane/develop
Browse files Browse the repository at this point in the history
promote: develop to preview
  • Loading branch information
sriramveeraghanta authored Dec 29, 2023
2 parents 33d88f5 + 22bbdd5 commit 6f0af46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/components/cycles/sidebar.tsx
Original file line number Diff line number Diff line change
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 6f0af46

Please sign in to comment.