This commit is contained in:
ogerly 2019-12-04 15:23:16 +01:00
parent 7c26e84463
commit b532a38966
2 changed files with 2 additions and 3 deletions

View File

@ -250,7 +250,6 @@ describe('ContributionForm.vue', () => {
await wrapper.find('input[type="checkbox"]').trigger('click')
expect(wrapper.find('input[type="checkbox"]').exists()).toBe(true)
expect(wrapper.find('.images-set-blur').exists()).toBe(true)
})
})

View File

@ -23,7 +23,7 @@
class="bluricon-post"
icon="eye-slash"
primary
@click.prevent="blur"
@click.prevent="setBlur"
></ds-button>
<img
v-if="post.blurImage"
@ -183,7 +183,7 @@ export default {
this.blur = true
}
},
blur() {
setBlur() {
if (!this.post.blurImage) {
this.post.blurImage = true
this.blur = false