1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-16 10:29:33 +02:00

💄 Add condition to div tag for styling reasons

This commit is contained in:
Raphael Bernhart 2022-01-21 15:39:49 +01:00
parent c3c4db52ec
commit 3dda5938f2

View File

@ -41,7 +41,7 @@
<Uptime :monitor="monitor.element" type="24" :pill="true" />
{{ monitor.element.name }}
</div>
<div class="tags">
<div v-if="monitor.element.tags.length" class="tags">
<Tag v-for="tag in monitor.element.tags" :key="tag" :item="tag" :size="'sm'" />
</div>
</div>