Fix Added patch note notification

This commit is contained in:
kwaroran
2024-01-15 13:01:04 +09:00
parent 8c84f2d34f
commit 31724901d2
3 changed files with 18 additions and 6 deletions

View File

@@ -17,7 +17,10 @@ export const patchNote = {
export function getPatchNote(version: string){
if(patchNote.version.split(".")[1] === version.split(".")[1] && patchNote.version.split(".")[0] === version.split(".")[0]){
return patchNote.content
return patchNote
}
return {
version: version.split(".")[0] + "." + version.split(".")[1],
content: ""
}
return ''
}