Hotfixes missing image in partner page attempt 2
This commit is contained in:
parent
eb9a0834ea
commit
b832ccf180
|
@ -37,8 +37,8 @@
|
||||||
getPartnerLogo (token) {
|
getPartnerLogo (token) {
|
||||||
let name = token.toLowerCase().replace(/\s/g, '-')
|
let name = token.toLowerCase().replace(/\s/g, '-')
|
||||||
// Hotfix, should be handled correctly.
|
// Hotfix, should be handled correctly.
|
||||||
if (name.includes('czech-republic')) {
|
if (name.includes('jef')) {
|
||||||
name = name.split('-')[0]
|
name = 'jef'
|
||||||
}
|
}
|
||||||
|
|
||||||
return require(`@/assets/${name}-logo.png`)
|
return require(`@/assets/${name}-logo.png`)
|
||||||
|
|
Loading…
Reference in a new issue