mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Fix linting issues
This commit is contained in:
parent
3ff034d014
commit
399507c7fb
@ -12,7 +12,7 @@
|
||||
>
|
||||
<hc-image
|
||||
:title="badge.key"
|
||||
:imageProps="imageProps(badge.icon)"
|
||||
:image-props="imageProps(badge.icon)"
|
||||
class="hc-badge"
|
||||
/>
|
||||
</div>
|
||||
@ -33,7 +33,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
imageProps(icon) {
|
||||
return { src: icon}
|
||||
return { src: icon }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 }) {
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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"
|
||||
@ -107,7 +107,7 @@ export default {
|
||||
)
|
||||
},
|
||||
imageProps(favicon) {
|
||||
return { src: favicon}
|
||||
return { src: favicon }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user