Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Handle media reset on query change only in search page
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Oct 12, 2021
1 parent b10337a commit 220170a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/ContentReport/ContentReportForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export default {
} else if (this.selectedReason === 'dmca') {
this.selectedCopyright = true
} else {
console.log('sending content report')
this.sendContentReport()
}
},
Expand Down
2 changes: 1 addition & 1 deletion test/unit/specs/store/search-store.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe('Search Store', () => {
page: 1,
}
await expect(action({ commit, dispatch, state }, params)).rejects.toThrow(
`Cannot fetch unknown media type "${params.mediaType}"`
'Cannot fetch unknown media type "unknown"'
)
})

Expand Down

0 comments on commit 220170a

Please sign in to comment.