push
github
290 of 422 branches covered (68.72%)
9 of 69 new or added lines in 14 files covered. (13.04%)
5582 of 9656 relevant lines covered (57.81%)
66.38 hits per line
NEW
|
<template>
|
|
NEW
|
<component :is="component" style="color: #e92d35" /> |
× |
NEW
|
</template>
|
× |
NEW
|
|
× |
NEW
|
<script> |
× |
NEW
|
import JSLogo from '@/common/assets/logos/JSLogo.svg' |
× |
NEW
|
import GSLogo from '@/common/assets/logos/GSLogo.svg' |
× |
NEW
|
export default { |
× |
NEW
|
name: 'YSLogo', |
× |
NEW
|
components: { |
× |
NEW
|
GSLogo, |
× |
NEW
|
JSLogo, |
× |
NEW
|
}, |
× |
NEW
|
computed: {
|
× |
NEW
|
component() { |
× |
NEW
|
return this.$i18n.locale.match(/it/i) ? 'GSLogo' : 'JSLogo' |
× |
NEW
|
}, |
× |
NEW
|
}, |
× |
NEW
|
} |
× |
NEW
|
</script> |
× |