Skip to content
Snippets Groups Projects
Commit 4191eb3c authored by Antonin COQUET's avatar Antonin COQUET
Browse files

fix: change naming for clarification

parent 3d2e4f24
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) { ...@@ -42,7 +42,7 @@ function downgradePublic(doc) {
function removeWomen(doc) { function removeWomen(doc) {
if (doc.modules) { if (doc.modules) {
doc.modules = doc.modules.filter(function (elem) { doc.modules = doc.modules.filter(function (elem) {
return elem.id != 'women'; return elem.id != 'uniquementFemmes' && elem.id != 'women';
}); });
} }
return doc; return doc;
...@@ -51,8 +51,8 @@ function removeWomen(doc) { ...@@ -51,8 +51,8 @@ function removeWomen(doc) {
function addWomen(doc) { function addWomen(doc) {
if (doc.modules) { if (doc.modules) {
doc.modules.push({ doc.modules.push({
id: 'women', id: 'uniquementFemmes',
text: 'Femmes', text: 'Uniquement femmes',
}); });
} }
return doc; 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