Skip to content
Snippets Groups Projects
Commit 5a95c7c7 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

Merge branch 'fix/women-public-fix' into 'dev'

fix: change naming for clarification

See merge request web-et-numerique/pamn_plateforme-des-acteurs-de-la-mediation-numerique/pamn_server!76
parents e93d1c2d 4191eb3c
No related branches found
No related tags found
3 merge requests!96release V1.10.0,!83Dev,!76fix: change naming for clarification
......@@ -42,7 +42,7 @@ function downgradePublic(doc) {
function removeWomen(doc) {
if (doc.modules) {
doc.modules = doc.modules.filter(function (elem) {
return elem.id != 'women';
return elem.id != 'uniquementFemmes' && elem.id != 'women';
});
}
return doc;
......@@ -51,8 +51,8 @@ function removeWomen(doc) {
function addWomen(doc) {
if (doc.modules) {
doc.modules.push({
id: 'women',
text: 'Femmes',
id: 'uniquementFemmes',
text: 'Uniquement femmes',
});
}
return doc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment