Fixed PageLinks errors
parent
de3fc250ce
commit
272fa24e8f
|
@ -17,9 +17,9 @@
|
||||||
return (
|
return (
|
||||||
<span class="p-paginator-pages">
|
<span class="p-paginator-pages">
|
||||||
{
|
{
|
||||||
this.value.map((pageLink, i) => {
|
this.value.map(pageLink => {
|
||||||
return <button key={pageLink} class={['p-paginator-page p-paginator-element p-link', {
|
return (<button key={pageLink} class={['p-paginator-page p-paginator-element p-link', {
|
||||||
'p-highlight': ((pageLink - 1) === this.page)}]} on-click={e => this.onPageLinkClick(e, pageLink)}>{pageLink}</button>
|
'p-highlight': ((pageLink - 1) === this.page)}]} on-click={e => this.onPageLinkClick(e, pageLink)}>{pageLink}</button>)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in New Issue