Fixed for zero numeric value

pull/5806/head
Cagatay Civici 2024-05-25 14:30:46 +03:00
parent 78ce1c62d5
commit eb4523a934
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<span :class="cx('root')" v-bind="ptmi('root')">
<component v-if="$slots.icon" :is="$slots.icon" :class="cx('icon')" v-bind="ptm('icon')" />
<span v-else-if="icon" :class="[cx('icon'), icon]" v-bind="ptm('icon')"></span>
<slot v-if="value || $slots.default">
<slot v-if="value != null || $slots.default">
<span :class="cx('label')" v-bind="ptm('label')">{{ value }}</span>
</slot>
</span>