Skip to content

Commit

Permalink
update customize-header to customize-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
HC200ok committed Mar 9, 2023
1 parent 71983c9 commit 9aaa64f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "HC200ok",
"description": "A customizable and easy-to-use data table component made with Vue.js 3.x.",
"private": false,
"version": "1.5.35",
"version": "1.5.36",
"types": "./types/main.d.ts",
"license": "MIT",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions src/components/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
/>
</colgroup>
<slot
v-if="slots['customize-header']"
name="customize-header"
v-if="slots['customize-headers']"
name="customize-headers"
/>
<thead
v-else-if="headersForRender.length && !hideHeader"
Expand Down
2 changes: 1 addition & 1 deletion src/modes/Client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
@update-total-items="updateTotalItems"
show-index-symbol="$"
>
<template #customize-header>
<template #customize-headers>
<thead class="my-static-header">
<tr>
<th colspan="3" rowspan="2"></th>
Expand Down

0 comments on commit 9aaa64f

Please sign in to comment.