forked from github/plane
Merge pull request #3286 from makeplane/develop
promote: develop to preview
This commit is contained in:
commit
6f0af4689b
@ -274,7 +274,7 @@ export const CycleDetailsSidebar: React.FC<Props> = observer((props) => {
|
|||||||
[workspaceSlug, projectId, cycleId, issueFilters, updateFilters]
|
[workspaceSlug, projectId, cycleId, issueFilters, updateFilters]
|
||||||
);
|
);
|
||||||
|
|
||||||
const cycleStatus = cycleDetails.status.toLocaleLowerCase();
|
const cycleStatus = cycleDetails?.status.toLocaleLowerCase();
|
||||||
const isCompleted = cycleStatus === "completed";
|
const isCompleted = cycleStatus === "completed";
|
||||||
|
|
||||||
const isStartValid = new Date(`${cycleDetails?.start_date}`) <= new Date();
|
const isStartValid = new Date(`${cycleDetails?.start_date}`) <= new Date();
|
||||||
|
Loading…
Reference in New Issue
Block a user