Fix linting issues

This commit is contained in:
aonomike 2019-05-07 15:56:31 +03:00
parent 3ff034d014
commit 399507c7fb
5 changed files with 14 additions and 14 deletions

View File

@ -12,7 +12,7 @@
> >
<hc-image <hc-image
:title="badge.key" :title="badge.key"
:imageProps="imageProps(badge.icon)" :image-props="imageProps(badge.icon)"
class="hc-badge" class="hc-badge"
/> />
</div> </div>
@ -33,7 +33,7 @@ export default {
}, },
methods: { methods: {
imageProps(icon) { imageProps(icon) {
return { src: icon} return { src: icon }
} }
} }
} }

View File

@ -6,7 +6,7 @@
> >
<ds-text> <ds-text>
<hc-image <hc-image
:imageProps="imageProps" :image-props="imageProps"
width="80" width="80"
class="hc-empty-icon" class="hc-empty-icon"
style="margin-bottom: 5px" style="margin-bottom: 5px"
@ -26,10 +26,10 @@
<script> <script>
import HcImage from '~/components/Image' import HcImage from '~/components/Image'
export default { export default {
name: 'HcEmpty',
components: { components: {
HcImage HcImage
}, },
name: 'HcEmpty',
props: { props: {
/** /**
* Icon that should be shown * Icon that should be shown

View File

@ -33,7 +33,7 @@
<hc-image <hc-image
class="login-image" class="login-image"
alt="Human Connection" alt="Human Connection"
:imageProps="imageProps" :image-props="imageProps"
/> />
</ds-space> </ds-space>
</ds-flex-item> </ds-flex-item>
@ -120,7 +120,7 @@ export default {
return this.$store.getters['auth/pending'] return this.$store.getters['auth/pending']
}, },
imageProps() { imageProps() {
return {src:"/img/sign-up/humanconnection.svg"} return { src: '/img/sign-up/humanconnection.svg' }
} }
}, },
asyncData({ store, redirect }) { asyncData({ store, redirect }) {

View File

@ -13,7 +13,7 @@
> >
<hc-image <hc-image
style="width: 200px;" style="width: 200px;"
:imageProps="imageProps" :image-props="imageProps"
alt="Human Connection" alt="Human Connection"
/> />
</ds-space> </ds-space>
@ -42,14 +42,14 @@ export default {
HcImage HcImage
}, },
layout: 'blank', layout: 'blank',
computed: {
imageProps() {
return { src: '/img/sign-up/onourjourney.png' }
}
},
async beforeCreate() { async beforeCreate() {
await this.$store.dispatch('auth/logout') await this.$store.dispatch('auth/logout')
this.$router.replace('/') this.$router.replace('/')
},
computed: {
imageProps(){
return { src: "/img/sign-up/onourjourney.png"}
}
} }
} }
</script> </script>

View File

@ -12,7 +12,7 @@
> >
<a :href="link.url"> <a :href="link.url">
<hc-image <hc-image
:imageProps="imageProps(link.favicon)" :image-props="imageProps(link.favicon)"
alt="Social Media link" alt="Social Media link"
width="16" width="16"
height="16" height="16"
@ -107,7 +107,7 @@ export default {
) )
}, },
imageProps(favicon) { imageProps(favicon) {
return { src: favicon} return { src: favicon }
} }
} }
} }