fix(Color): Show badge only if value is set

This commit is contained in:
Faris Ansari
2020-02-10 13:24:06 +05:30
parent bb16c5ab56
commit fdd5c49fd4
+1
View File
@@ -12,6 +12,7 @@
>
<div class="flex items-center">
<div
v-if="value"
class="w-3 h-3 rounded mr-1"
:style="{ backgroundColor: value }"
></div>