Use proper type for size prop

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-08-26 12:45:46 +02:00
parent 7c5601eed6
commit 74d9e63888
2 changed files with 5 additions and 5 deletions

View File

@@ -59,7 +59,7 @@
:order="1" :order="1"
:name="t('deck', 'Attachments')"> :name="t('deck', 'Attachments')">
<template #icon> <template #icon>
<AttachmentIcon size="20" decorative /> <AttachmentIcon :size="20" decorative />
</template> </template>
<CardSidebarTabAttachments :card="currentCard" /> <CardSidebarTabAttachments :card="currentCard" />
</NcAppSidebarTab> </NcAppSidebarTab>

View File

@@ -26,8 +26,8 @@
v-tooltip="commentsHint" v-tooltip="commentsHint"
class="icon-badge" class="icon-badge"
@click.stop="openComments"> @click.stop="openComments">
<CommentUnreadIcon v-if="card.commentsUnread > 0" size="16" /> <CommentUnreadIcon v-if="card.commentsUnread > 0" :size="16" />
<CommentIcon v-else size="16" /> <CommentIcon v-else :size="16" />
<span>{{ card.commentsCount }}</span> <span>{{ card.commentsCount }}</span>
</div> </div>
@@ -36,10 +36,10 @@
<span>{{ checkListCheckedCount }}/{{ checkListCount }}</span> <span>{{ checkListCheckedCount }}/{{ checkListCount }}</span>
</div> </div>
<TextIcon v-else-if="card.description.trim() && checkListCount == 0" size="16" decorative /> <TextIcon v-else-if="card.description.trim() && checkListCount == 0" :size="16" decorative />
<div v-if="card.attachmentCount > 0" class="icon-badge"> <div v-if="card.attachmentCount > 0" class="icon-badge">
<AttachmentIcon size="16" /> <AttachmentIcon :size="16" />
<span>{{ card.attachmentCount }}</span> <span>{{ card.attachmentCount }}</span>
</div> </div>