Unverified Commit 55899b48 authored by Estelle Veisemburger's avatar Estelle Veisemburger Committed by Florent Chehab
Browse files

doc(maintenance): How to update majors / minors

parent f2cdf1ea
# 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",
},
};
```
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment