We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e9977e commit 19be690Copy full SHA for 19be690
1 file changed
apps/recruit/src/app/admin/(with-sidebar)/recruitment/_components/manage-mail/ManageMail.tsx
@@ -60,7 +60,7 @@ export const ManageMail = ({
60
const canAccess = isGenerationExist || alwaysAble;
61
const hasPermission = isRecruiting || alwaysAble;
62
63
- const finalCanEdit = canAccess;
+ const finalCanEdit = canAccess && !isSent;
64
const finalCanSend =
65
canAccess && hasPermission && !isSent && waitingCount > 0;
66
0 commit comments