Update supply events

This commit is contained in:
Sakura Knoll
2022-08-07 03:43:37 +09:00 Unverified
parent fe87010b9e
commit b0e475b5c3
34 changed files with 227 additions and 38 deletions
+9
View File
@@ -32,6 +32,15 @@ export function listVersionData(locale?: string): VersionData[] {
}
})
}),
supplyEvents: version.supplyEvents.map((supplyEvent: any) => {
return {
...supplyEvent,
name:
locale === 'ko-KR' && supplyEvent.krName != null
? supplyEvent.krName
: supplyEvent.name,
}
}),
}
})
.sort((a: any, b: any) => {