Fixed header slots

pull/41/head
cagataycivici 2019-07-22 15:38:13 +03:00
parent 0eb71a8bd6
commit c24185c26c
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
</div>
</div>
<div class="p-picklist-list-wrapper p-picklist-source-wrapper">
<div class="p-picklist-caption" v-if="$slots.header">
<div class="p-picklist-caption" v-if="$slots.sourceHeader">
<slot name="sourceHeader"></slot>
</div>
<transition-group ref="sourceList" name="p-picklist-flip" tag="ul" class="p-picklist-list p-picklist-source" :style="listStyle">
@ -30,7 +30,7 @@
</div>
</div>
<div class="p-picklist-list-wrapper p-picklist-target-wrapper">
<div class="p-picklist-caption" v-if="$slots.header">
<div class="p-picklist-caption" v-if="$slots.targetHeader">
<slot name="targetHeader"></slot>
</div>
<transition-group ref="targetList" name="p-picklist-flip" tag="ul" class="p-picklist-list p-picklist-target" :style="listStyle">