mirror of
https://github.com/containous/traefik.git
synced 2025-08-25 13:49:32 +03:00
Fix weighted service provider icon
This commit is contained in:
committed by
Traefiker Bot
parent
5c091a1871
commit
1b6c7af3eb
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user