Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web-et-numerique
Factory
Resin
Server
Merge requests
!76
fix: change naming for clarification
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix: change naming for clarification
fix/women-public-fix
into
dev
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Antonin COQUET
requested to merge
fix/women-public-fix
into
dev
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
need to re-run migration:
1620308186636-public-women.ts
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
4191eb3c
1 commit,
4 years ago
1 file
+
3
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/migrations/scripts/1620308186636-public-women.ts
+
3
−
3
Options
@@ -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
:
'
F
emmes
'
,
id
:
'
uniquementFemmes
'
,
text
:
'
Uniquement f
emmes
'
,
});
}
return
doc
;
Loading