Do not render header if slot is empty
parent
d31c58478f
commit
16db95bfc7
|
@ -11,7 +11,7 @@
|
||||||
:data-p-hidden-accessible="true"
|
:data-p-hidden-accessible="true"
|
||||||
:data-p-hidden-focusable="true"
|
:data-p-hidden-focusable="true"
|
||||||
></span>
|
></span>
|
||||||
<div :class="cx('header')">
|
<div v-if="$slots.header" :class="cx('header')">
|
||||||
<slot name="header" :value="modelValue" :options="visibleOptions"></slot>
|
<slot name="header" :value="modelValue" :options="visibleOptions"></slot>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="filter" :class="cx('header')" v-bind="ptm('header')">
|
<div v-if="filter" :class="cx('header')" v-bind="ptm('header')">
|
||||||
|
|
Loading…
Reference in New Issue