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

feat(frontend): Adding majorMinorMappings to utils

parent a6cd769e
export const majorMapping = {
GSM: "IM",
GM: "IM",
export const minorMapping = {};
export function getUpdatedMajor(major) {
if (major in majorMapping) {
return majorMapping[major];
return major;
export function getUpdatedMinor(major, minor) {
if (major in minorMapping && minor in minorMapping[major]) {
return minorMapping[major][minor];
return minor;
Supports Markdown
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