fix(tasks): do not create label wrapper component when no labels are present

This fixes a visual regression where a padding on the left of the icons was shown when no labels were present
This commit is contained in:
kolaente
2025-12-17 23:52:12 +01:00
parent b0655c5fc6
commit bb80c20fef

View File

@@ -1,5 +1,8 @@
<template>
<div class="label-wrapper">
<div
v-if="labels?.length > 0"
class="label-wrapper"
>
<XLabel
v-for="label in displayLabels"
:key="label.id"