Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tirokk committed Jan 21, 2021
1 parent e724326 commit 9ce1e08
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
Expand Down
4 changes: 2 additions & 2 deletions webapp/mixins/postListActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default {
.mutate({
mutation: PostMutations().pinPost,
variables: {
id: post.id
id: post.id,
},
})
.then(() => {
Expand All @@ -26,7 +26,7 @@ export default {
.mutate({
mutation: PostMutations().unpinPost,
variables: {
id: post.id
id: post.id,
},
})
.then(() => {
Expand Down
4 changes: 3 additions & 1 deletion webapp/pages/post/_id/_slug/more-info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
/>
Expand Down
1 change: 0 additions & 1 deletion webapp/pages/profile/_id/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 9ce1e08

Please sign in to comment.