From cd8b2447419e152f546a96bb3534c54735289fc7 Mon Sep 17 00:00:00 2001 From: Alexander Friedland Date: Mon, 6 Jan 2020 10:57:48 +0100 Subject: [PATCH] Update webapp/components/ContributionForm/ContributionForm.vue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit showDeleteButton change Co-Authored-By: Robert Schäfer --- webapp/components/ContributionForm/ContributionForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 8370c0385..579a7b3de 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -204,7 +204,7 @@ export default { users: [], contentMin: 3, hashtags: [], - showDeleteButton: this.contribution ? this.contribution.image : false, + showDeleteButton: !!this.contribution, elem: null, } },