Skip to content

Commit

Permalink
handling null when checking for correct deliverable links
Browse files Browse the repository at this point in the history
  • Loading branch information
kapil1garg committed May 29, 2024
1 parent 3db98d1 commit 3eb75eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/reflections/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ export default function CAPNote({ capNoteInfo, pastIssues }): JSX.Element {
)}
</h3>

{followUp.outcome.deliverableLink === '' ||
{(followUp.outcome.deliverableLink !== null &&
followUp.outcome.deliverableLink === '') ||
(!isValidHttpUrl(
followUp.outcome.deliverableLink
) && (
Expand Down

0 comments on commit 3eb75eb

Please sign in to comment.