Skip to content

Commit

Permalink
hotFixes
Browse files Browse the repository at this point in the history
  • Loading branch information
angelcast2002 committed Nov 11, 2023
1 parent f3197b2 commit e6a306c
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 e6a306c

Please sign in to comment.