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
:title="badge.key"
:imageProps="imageProps(badge.icon)"
:image-props="imageProps(badge.icon)"
class="hc-badge"
/>
</div>

View File

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

View File

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

View File

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

View File

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