Fix weighted service provider icon

This commit is contained in:
Dmitry Sharshakov 2019-12-10 17:14:06 +03:00 committed by Traefiker Bot
parent 5c091a1871
commit 1b6c7af3eb
2 changed files with 6 additions and 6 deletions

View file

@ -55,11 +55,11 @@ export default {
methods: {
getProvider (service) {
const words = service.name.split('@')
if (words.length !== 2) {
return this.provider
if (words.length === 2) {
return words[1]
}
return words[1]
return this.data.provider
}
}
}

View file

@ -55,11 +55,11 @@ export default {
methods: {
getProvider (service) {
const words = service.name.split('@')
if (words.length !== 2) {
return this.provider
if (words.length === 2) {
return words[1]
}
return words[1]
return this.data.provider
}
}
}