Skip to content

Commit

Permalink
Merge pull request #244 from markalbrand56/angel
Browse files Browse the repository at this point in the history
hotFixes
  • Loading branch information
Diego2250 authored Nov 11, 2023
2 parents 4a851dc + e6a306c commit 5e204b9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,13 @@ const EditProfileEstudiante = () => {
if (newCV !== "") {
window.open(newCV)
} else {
window.open(`${API_URL}/api/cv/${oldCV}`)
if (oldCV === "") {
setTypePopUp(2)
setError("No tienes un CV")
setWarning(true)
} else {
window.open(`${API_URL}/api/cv/${oldCV}`)
}
}
}

Expand Down

0 comments on commit 5e204b9

Please sign in to comment.