Only allow cover if a preview is available
This commit is contained in:
parent
56d9223fc4
commit
6543795755
@ -95,7 +95,7 @@
|
||||
<icon icon="trash-alt" />
|
||||
</BaseButton>
|
||||
<BaseButton
|
||||
v-if="editEnabled"
|
||||
v-if="editEnabled && canPreview(a)"
|
||||
class="attachment-info-meta-button"
|
||||
@click.prevent.stop="setCoverImage(task.coverImageAttachmentId === a.id ? null : a)"
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user