fix: lint, test

This commit is contained in:
ogerly 2020-01-15 18:58:42 +01:00
parent 2e7f774679
commit c1743ce1d0

View File

@ -8,9 +8,9 @@
>
<template slot-scope="{ errors }">
<ds-button
v-if="(contribution && contribution.image) || form.teaserImage"
@click.prevent="deleteImage"
icon="close"
v-if="contribution.image || form.teaserImage"
class="delete-image"
></ds-button>
<hc-teaser-image
@ -23,7 +23,7 @@
<img
v-if="contribution"
class="contribution-image"
:src="contribution.image | proxyApiUrl"
:src="contribution.image || proxyApiUrl"
/>
</hc-teaser-image>