Do not render header if slot is empty

pull/5507/head
Cagatay Civici 2024-04-02 10:59:39 +03:00
parent d31c58478f
commit 16db95bfc7
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
:data-p-hidden-accessible="true"
:data-p-hidden-focusable="true"
></span>
<div :class="cx('header')">
<div v-if="$slots.header" :class="cx('header')">
<slot name="header" :value="modelValue" :options="visibleOptions"></slot>
</div>
<div v-if="filter" :class="cx('header')" v-bind="ptm('header')">