Skip to content

View CV button downloads file instead of previewing it #35

Description

@chamals3n4

Description

On the candidate detail page, clicking "View CV" should open the candidate's CV in a
preview (new tab / inline viewer), but instead it triggers a file download.

Steps to Reproduce

  1. Go to a candidate's profile (e.g. /candidates/:id)
  2. Click the View CV button (top right, next to Hired/Close/Edit)
  3. Observe the browser downloads the file instead of showing a preview

Expected Behavior

Clicking "View CV" should open the CV (PDF/image) in a new tab or an in-app preview modal,
letting the user view it without downloading.

Actual Behavior

The browser triggers a file download dialog/action instead of previewing the document.

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions