fix(Contact): fix issue with address parsing sentry #1866716154
This commit is contained in:
parent
d9f09065b4
commit
32d30be943
1 changed files with 7 additions and 3 deletions
|
@ -203,11 +203,15 @@ export default {
|
|||
if (raw.length === 3) {
|
||||
this.secondLine = raw[1]
|
||||
raw = raw[2].split('%postalsep%')
|
||||
this.postalCode = raw[0]
|
||||
this.city = raw[1]
|
||||
} else {
|
||||
raw = raw[1].split('%postalsep%')
|
||||
if (raw.length > 0) {
|
||||
raw = raw[1].split('%postalsep%')
|
||||
this.postalCode = raw[0]
|
||||
this.city = raw[1]
|
||||
}
|
||||
}
|
||||
this.postalCode = raw[0]
|
||||
this.city = raw[1]
|
||||
} else {
|
||||
// encode address
|
||||
let encoded = ''
|
||||
|
|
Loading…
Reference in a new issue