Skip to content

Commit 080b869

Browse files
committed
CCM-9707 Change Letter back to Standard
1 parent 3b4ea6d commit 080b869

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

utils/utils/src/enum.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,12 @@ const letterTypeMap: Record<LetterType, string> = {
4545
x3: 'Audio CD',
4646
q1: 'Braille',
4747
q4: 'British Sign Language',
48-
x0: 'Letter',
48+
x0: 'Standard',
4949
x1: 'Large print',
5050
};
5151

5252
export const letterTypeMapping = (letterType: LetterType) =>
53-
letterType === 'x0'
54-
? letterTypeMap[letterType]
55-
: `${letterTypeMap[letterType]} letter`;
53+
`${letterTypeMap[letterType]} letter`;
5654

5755
export const alphabeticalLetterTypeList = Object.entries(letterTypeMap).sort(
5856
([, nameA], [, nameB]) => nameA.localeCompare(nameB)

0 commit comments

Comments
 (0)