Update webapp/components/ContributionForm/ContributionForm.vue

showDeleteButton change

Co-Authored-By: Robert Schäfer <git@roschaefer.de>
This commit is contained in:
Alexander Friedland 2020-01-06 10:57:48 +01:00 committed by GitHub
parent d38a1f089f
commit cd8b244741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,7 @@ export default {
users: [],
contentMin: 3,
hashtags: [],
showDeleteButton: this.contribution ? this.contribution.image : false,
showDeleteButton: !!this.contribution,
elem: null,
}
},