Fix Added patch note notification
This commit is contained in:
@@ -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 ''
|
||||
}
|
||||
Reference in New Issue
Block a user