Replace # with - in frontend search component.

This commit is contained in:
zkxjzmswkwl 2024-01-09 05:19:25 -07:00
parent b8bac1f952
commit 239f9a8a91

View file

@ -148,7 +148,7 @@ export default {
document.body.style.overflow = 'hidden'
},
formSubmit() {
const search = this.summoner.split(' ').join('').replace('+', ' ')
const search = this.summoner.split(' ').join('').replace('+', ' ').replace('#', '-')
if (search.length) {
this.$emit('formSubmit', search, this.selectedRegion)
}