Fix weighted service provider icon
This commit is contained in:
parent
5c091a1871
commit
1b6c7af3eb
2 changed files with 6 additions and 6 deletions
|
@ -55,11 +55,11 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
getProvider (service) {
|
getProvider (service) {
|
||||||
const words = service.name.split('@')
|
const words = service.name.split('@')
|
||||||
if (words.length !== 2) {
|
if (words.length === 2) {
|
||||||
return this.provider
|
return words[1]
|
||||||
}
|
}
|
||||||
|
|
||||||
return words[1]
|
return this.data.provider
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,11 +55,11 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
getProvider (service) {
|
getProvider (service) {
|
||||||
const words = service.name.split('@')
|
const words = service.name.split('@')
|
||||||
if (words.length !== 2) {
|
if (words.length === 2) {
|
||||||
return this.provider
|
return words[1]
|
||||||
}
|
}
|
||||||
|
|
||||||
return words[1]
|
return this.data.provider
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue