Skip to content

Commit f4cee24

Browse files
authored
Merge pull request #1132 from topcoder-platform/pm-1468
fix(PM-1468): make notes mandatory
2 parents 248914c + fd517ed commit f4cee24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/copilots/src/pages/copilot-opportunity-details/apply-opportunity-modal/ApplyOpportunityModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const ApplyOpportunityModal: FC<ApplyOpportunityModalProps> = props => {
5050
buttons={
5151
!success ? (
5252
<>
53-
<Button primary onClick={onApply} label='Apply' />
53+
<Button disabled={!notes} primary onClick={onApply} label='Apply' />
5454
<Button secondary onClick={props.onClose} label='Cancel' />
5555
</>
5656
) : (

0 commit comments

Comments
 (0)