added function to remove control characters from names
This commit is contained in:
@@ -134,7 +134,7 @@ import {
|
||||
FormatFullDate,
|
||||
GetMatchDetails,
|
||||
GoToLink,
|
||||
LoadImage
|
||||
LoadImage, ProcessName
|
||||
} from "../utils";
|
||||
import {useStore} from "vuex";
|
||||
import {useRoute} from 'vue-router'
|
||||
@@ -173,6 +173,11 @@ export default {
|
||||
})
|
||||
|
||||
data.matchDetails = store.state.matchDetails
|
||||
|
||||
data.matchDetails.stats.forEach(p => {
|
||||
p.player.name = ProcessName(p.player.name)
|
||||
})
|
||||
|
||||
data.stats = data.matchDetails.stats
|
||||
data.score = data.matchDetails.score
|
||||
|
||||
|
Reference in New Issue
Block a user