fix lint errors – thanks github editor

This commit is contained in:
Alina Beck 2019-08-19 16:23:38 +01:00
parent b74c47a265
commit 3703fc787a
2 changed files with 21 additions and 21 deletions

View File

@ -1,11 +1,11 @@
import { mount } from '@vue/test-utils'
import { shallowMount } from '@vue/test-utils'
import MasonryGridItem from './MasonryGridItem'
describe('MasonryGridItem', () => {
let wrapper
beforeEach(() => {
wrapper = mount(MasonryGridItem)
wrapper = shallowMount(MasonryGridItem)
wrapper.vm.$parent.$emit = jest.fn()
})

View File

@ -44,25 +44,25 @@
</div>
<no-ssr>
<div style="display: inline-block; float: right">
<!-- Shouts Count -->
<span :style="{ opacity: post.shoutedCount ? 1 : 0.5 }">
<ds-icon name="bullhorn" />
<small>{{ post.shoutedCount }}</small>
</span>
&nbsp;
<!-- Comments Count -->
<span :style="{ opacity: post.commentedCount ? 1 : 0.5 }">
<ds-icon name="comments" />
<small>{{ post.commentedCount }}</small>
</span>
<!-- Menu -->
<content-menu
resource-type="contribution"
:resource="post"
:modalsData="menuModalsData"
:is-owner="isAuthor"
/>
</div>
<!-- Shouts Count -->
<span :style="{ opacity: post.shoutedCount ? 1 : 0.5 }">
<ds-icon name="bullhorn" />
<small>{{ post.shoutedCount }}</small>
</span>
&nbsp;
<!-- Comments Count -->
<span :style="{ opacity: post.commentedCount ? 1 : 0.5 }">
<ds-icon name="comments" />
<small>{{ post.commentedCount }}</small>
</span>
<!-- Menu -->
<content-menu
resource-type="contribution"
:resource="post"
:modalsData="menuModalsData"
:is-owner="isAuthor"
/>
</div>
</no-ssr>
</template>
</ds-card>