mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix lint
This commit is contained in:
parent
e7243261f2
commit
9ce1e089fa
@ -105,7 +105,7 @@ describe('SearchResults', () => {
|
||||
})
|
||||
|
||||
it('has post tab inactive after emitting switch-tab', async () => {
|
||||
wrapper.find('.tab-navigation').vm.$emit('switch-tab', 'User') // emits direct from tab component to search results
|
||||
wrapper.find('.tab-navigation').vm.$emit('switch-tab', 'User') // emits direct from tab component to search results
|
||||
await wrapper.vm.$nextTick()
|
||||
await expect(wrapper.find('[data-test="Post-tab"]').classes('--active')).toBe(false)
|
||||
})
|
||||
|
||||
@ -12,7 +12,7 @@ export default {
|
||||
.mutate({
|
||||
mutation: PostMutations().pinPost,
|
||||
variables: {
|
||||
id: post.id
|
||||
id: post.id,
|
||||
},
|
||||
})
|
||||
.then(() => {
|
||||
@ -26,7 +26,7 @@ export default {
|
||||
.mutate({
|
||||
mutation: PostMutations().unpinPost,
|
||||
variables: {
|
||||
id: post.id
|
||||
id: post.id,
|
||||
},
|
||||
})
|
||||
.then(() => {
|
||||
|
||||
@ -27,7 +27,9 @@
|
||||
<post-teaser
|
||||
:post="relatedPost"
|
||||
:width="{ base: '100%', lg: 1 }"
|
||||
@removePostFromList="post.relatedContributions = removePostFromList(relatedPost, post.relatedContributions)"
|
||||
@removePostFromList="
|
||||
post.relatedContributions = removePostFromList(relatedPost, post.relatedContributions)
|
||||
"
|
||||
@pinPost="pinPost(relatedPost, refetchPostList)"
|
||||
@unpinPost="unpinPost(relatedPost, refetchPostList)"
|
||||
/>
|
||||
|
||||
@ -187,7 +187,6 @@ import { profilePagePosts } from '~/graphql/PostQuery'
|
||||
import UserQuery from '~/graphql/User'
|
||||
import { muteUser, unmuteUser } from '~/graphql/settings/MutedUsers'
|
||||
import { blockUser, unblockUser } from '~/graphql/settings/BlockedUsers'
|
||||
import PostMutations from '~/graphql/PostMutations'
|
||||
import UpdateQuery from '~/components/utils/UpdateQuery'
|
||||
import SocialMedia from '~/components/SocialMedia/SocialMedia'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user