1
0

Add cover tooltips

This commit is contained in:
Elscrux 2024-05-25 11:43:32 +02:00
parent c2fc444bc0
commit 8b066bf0e9

View File

@ -96,6 +96,9 @@
</BaseButton> </BaseButton>
<BaseButton <BaseButton
v-if="editEnabled && canPreview(a)" v-if="editEnabled && canPreview(a)"
v-tooltip="task.coverImageAttachmentId === a.id
? $t('task.attachment.unsetAsCover')
: $t('task.attachment.setAsCover')"
class="attachment-info-meta-button" class="attachment-info-meta-button"
@click.prevent.stop="setCoverImage(task.coverImageAttachmentId === a.id ? null : a)" @click.prevent.stop="setCoverImage(task.coverImageAttachmentId === a.id ? null : a)"
> >