Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rex Dri
Rex Dri
Commits
55899b48
Unverified
Commit
55899b48
authored
May 17, 2020
by
Estelle Veisemburger
Committed by
Florent Chehab
May 24, 2020
Browse files
doc(maintenance): How to update majors / minors
parent
f2cdf1ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
documentation/ProdRelated/updateMajorMinor.md
0 → 100644
View file @
55899b48
# Update majors / minors
In case of changes of majors / minors at the UTC, the frontend filter utils need to be updated.
In
`frontend/src/utils/majorMinorMappings.js`
, each change has to be added as a new line in either
`majorMapping`
or
`minorMapping`
like this:
```
js
export
const
majorMapping
=
{
oldMajorName
:
"
newMajorName
"
,
};
export
const
minorMapping
=
{
majorName
:
{
oldMinorName
:
"
newMinorName
"
,
},
};
```
documentation/_sidebar.md
View file @
55899b48
...
...
@@ -39,6 +39,9 @@
-
[
Architecture
](
ProdRelated/architecture.md
)
-
[
Dump database
](
ProdRelated/dump_database.md
)
-
Maintenance
- [Update major minor](ProdRelated/updateMajorMinor.md)
*
Comments about technologies used
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment