Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TotalPage NaN #547

Open
orangevinz opened this issue Oct 28, 2018 · 1 comment
Open

TotalPage NaN #547

orangevinz opened this issue Oct 28, 2018 · 1 comment

Comments

@orangevinz
Copy link

orangevinz commented Oct 28, 2018

Hey,

I'm on the @next branch
I might be wrong but the totalPage returns me a NaN

Does not work :

totalPage () {
                return this.tablePagination === null
                    ? 0
                    : this.last_page - this.firstPage + 1
            },

Work :

totalPage () {
                return this.tablePagination === null
                    ? 0
                    : this.lastPage - this.firstPage + 1
            },

;-)

: this.last_page - this.firstPage + 1

@matt-spx
Copy link

matt-spx commented Oct 29, 2018

See #515.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants