Fixed PageLinks errors
parent
de3fc250ce
commit
272fa24e8f
|
@ -17,9 +17,9 @@
|
|||
return (
|
||||
<span class="p-paginator-pages">
|
||||
{
|
||||
this.value.map((pageLink, i) => {
|
||||
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>
|
||||
this.value.map(pageLink => {
|
||||
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>)
|
||||
})
|
||||
}
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue