mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-27 16:10:50 +01:00
36 lines
755 B
TypeScript
36 lines
755 B
TypeScript
export const GetIssueCategoryName = (categoryId: number) =>
|
|
{
|
|
switch(categoryId)
|
|
{
|
|
case 1:
|
|
case 2:
|
|
return 'Normal';
|
|
case 3:
|
|
return 'Automatic';
|
|
case 4:
|
|
return 'Automatic IM';
|
|
case 5:
|
|
return 'Guide System';
|
|
case 6:
|
|
return 'IM';
|
|
case 7:
|
|
return 'Room';
|
|
case 8:
|
|
return 'Panic';
|
|
case 9:
|
|
return 'Guardian';
|
|
case 10:
|
|
return 'Automatic Helper';
|
|
case 11:
|
|
return 'Discussion';
|
|
case 12:
|
|
return 'Selfie';
|
|
case 14:
|
|
return 'Photo';
|
|
case 15:
|
|
return 'Ambassador';
|
|
}
|
|
|
|
return 'Unknown';
|
|
}
|