Skip to content

Commit ed8b6a4

Browse files
committed
Fix autohide option
1 parent 05442ec commit ed8b6a4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "advanced-laravel-vue-paginate",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"scripts": {
55
"serve": "vue-cli-service serve",
66
"build": "vue-cli-service build",

src/components/AdvancedLaravelVuePaginate.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export default {
177177
}
178178
179179
// if total page = 1. then depends on user props value
180-
return this.totalPage === 1 ? this.autoHidePaginate : true;
180+
return this.totalPage === 1 ? !this.autoHidePaginate : true;
181181
},
182182
isResourceApi() {
183183
return this.data.meta ? true : false;

0 commit comments

Comments
 (0)