Skip to content

Commit

Permalink
Merge pull request #41 from HC200ok/optimze/update-to-hideFooter
Browse files Browse the repository at this point in the history
update show-footer prop to hide-footer
  • Loading branch information
HC200ok authored Jun 24, 2022
2 parents 138eae1 + c61fb10 commit 1bf9de6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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.2.15",
"version": "1.2.16",
"types": "./types/main.d.ts",
"license": "MIT",
"files": [
Expand Down
8 changes: 4 additions & 4 deletions src/components/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
>
<div
class="loading-mask"
:class="{'no-footer': !showFooter}"
:class="{'no-footer': hideFooter}"
></div>
<div class="loading-entity">
<slot
Expand All @@ -124,7 +124,7 @@
</div>
</div>
<div
v-if="showFooter"
v-if="!hideFooter"
class="data-table__footer"
>
<div
Expand Down Expand Up @@ -349,9 +349,9 @@ const props = defineProps({
type: Boolean,
default: false,
},
showFooter: {
hideFooter: {
type: Boolean,
default: true,
default: false,
},
filterOptions: {
type: Array as PropType<FilterOption[]>,
Expand Down

0 comments on commit 1bf9de6

Please sign in to comment.