chore: issue transfer validation added for completed cycle (#3715)

This commit is contained in:
Anmol Singh Bhatia 2024-02-21 17:53:20 +05:30 committed by GitHub
parent 48b55ef261
commit 133c9b3ddb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ import { useRouter } from "next/router";
import useSWR from "swr"; import useSWR from "swr";
import isEmpty from "lodash/isEmpty";
// component // component
import { Button, TransferIcon } from "@plane/ui"; import { Button, TransferIcon } from "@plane/ui";
// icon // icon
@ -43,7 +44,7 @@ export const TransferIssues: React.FC<Props> = (props) => {
<span>Completed cycles are not editable.</span> <span>Completed cycles are not editable.</span>
</div> </div>
{transferableIssuesCount > 0 && ( {isEmpty(cycleDetails?.progress_snapshot) && transferableIssuesCount > 0 && (
<div> <div>
<Button variant="primary" prependIcon={<TransferIcon color="white" />} onClick={handleClick}> <Button variant="primary" prependIcon={<TransferIcon color="white" />} onClick={handleClick}>
Transfer Issues Transfer Issues