diff --git a/src/components/views/project/projectActionCard/AdminActions.tsx b/src/components/views/project/projectActionCard/AdminActions.tsx index af9c9a051d..d4c59c6b13 100644 --- a/src/components/views/project/projectActionCard/AdminActions.tsx +++ b/src/components/views/project/projectActionCard/AdminActions.tsx @@ -47,7 +47,7 @@ export const AdminActions = () => { useProjectContext(); const project = projectData!; - const { slug, verified, verificationFormStatus } = project; + const { slug, isGivbackEligible, verificationFormStatus } = project; const { formatMessage } = useIntl(); const router = useRouter(); const isMobile = !useMediaQuery(device.tablet); @@ -56,7 +56,7 @@ export const AdminActions = () => { const chainId = chain?.id; const isVerificationDisabled = - verified || + isGivbackEligible || verificationFormStatus === EVerificationStatus.SUBMITTED || verificationFormStatus === EVerificationStatus.REJECTED || !isActive; diff --git a/src/components/views/userProfile/projectsTab/ProjectActions.tsx b/src/components/views/userProfile/projectsTab/ProjectActions.tsx index 1381945225..10b897446b 100644 --- a/src/components/views/userProfile/projectsTab/ProjectActions.tsx +++ b/src/components/views/userProfile/projectsTab/ProjectActions.tsx @@ -167,12 +167,12 @@ const ProjectActions: FC = ({ if ( (verificationStatus === EVerificationStatus.DRAFT || !verificationStatus) && - !project.verified + !project.isGivbackEligible ) { options.push({ label: formatMessage({ id: - !project.verified && + !project.isGivbackEligible && project.projectVerificationForm?.status !== EVerificationStatus.DRAFT ? 'label.project_verify'