mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Couple of corrections
@aonomike use computed properties when possible
This commit is contained in:
parent
958ebf2c77
commit
6c5f529d85
@ -6,7 +6,7 @@
|
||||
>
|
||||
<ds-text>
|
||||
<hc-image
|
||||
:image-props="{ src: `/img/empty/${this.icon}.svg` }"
|
||||
:image-props="{ src: imgSrc }"
|
||||
width="80"
|
||||
class="hc-empty-icon"
|
||||
style="margin-bottom: 5px"
|
||||
@ -56,6 +56,11 @@ export default {
|
||||
type: [String, Object],
|
||||
default: 'x-large'
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
imgSrc() {
|
||||
return `/img/empty/${this.icon}.svg`
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { shallowMount, createLocalVue } from '@vue/test-utils'
|
||||
import RelativeDateTime from './index'
|
||||
import RelativeDateTime from './'
|
||||
|
||||
const localVue = createLocalVue()
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { shallowMount, createLocalVue } from '@vue/test-utils'
|
||||
import Styleguide from '@human-connection/styleguide'
|
||||
import Tag from './index'
|
||||
import Tag from './'
|
||||
|
||||
const localVue = createLocalVue()
|
||||
localVue.use(Styleguide)
|
||||
@ -34,7 +34,7 @@
|
||||
class="login-image"
|
||||
alt="Human Connection"
|
||||
src="/img/sign-up/humanconnection.svg"
|
||||
/>
|
||||
>
|
||||
</ds-space>
|
||||
</ds-flex-item>
|
||||
<ds-flex-item
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user