Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ne pas passer undefined en clé de version à l'export #857

Closed
davidbgk opened this issue Apr 24, 2023 · 2 comments · Fixed by #861
Closed

Ne pas passer undefined en clé de version à l'export #857

davidbgk opened this issue Apr 24, 2023 · 2 comments · Fixed by #861

Comments

@davidbgk
Copy link
Collaborator

davidbgk commented Apr 24, 2023

Ici https://github.com/EcrituresNumeriques/stylo/blob/master/front/src/components/Export.jsx#L28

On a &version=${articleVersionId} qui devient &version=undefined dans certains cas, ça serait mieux que ça devienne &version= (ça reste un paramètre requis)

@ggrossetie
Copy link
Collaborator

La version d'un article est optionnelle quand on est sur une version de travail

(ça reste un paramètre requis)

C'est à dire qu'il faut que version soit présent mais peut être vide ?

@davidbgk
Copy link
Collaborator Author

davidbgk commented May 3, 2023

Oui c'est ça 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants