Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Commit 450e7af

Browse files
committed
Fixed spaces between functions
1 parent f04dfa5 commit 450e7af

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/components/Pagination.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ export default {
88
<div class="vue-pagination">
99
<nav>
1010
<ul class="pagination">
11-
<li class={{ disabled: this.pages.current_page === 1 }}>
12-
<a href="#" on-click={ (e) => this.firstPage(e) }><span aria-hidden="true">&laquo;&laquo;</span></a>
11+
<li class={{disabled: this.pages.current_page === 1}}>
12+
<a href="#" on-click={(e) => this.firstPage(e)}><span aria-hidden="true">&laquo;&laquo;</span></a>
1313
</li>
1414
<li class={{ disabled: this.pages.current_page === 1 }}>
15-
<a href="#" on-click={ (e) => this.previous(e) }><span aria-hidden="true">&laquo;</span></a>
15+
<a href="#" on-click={(e) => this.previous(e)}><span aria-hidden="true">&laquo;</span></a>
1616
</li>
17-
{ this.paginationItems }
18-
<li class={{ disabled: this.pages.current_page === this.pages.last_page }}>
19-
<a href="#" on-click={ (e) => this.next(e) }><span aria-hidden="true">&raquo;</span></a>
17+
{this.paginationItems}
18+
<li class={{disabled: this.pages.current_page === this.pages.last_page}}>
19+
<a href="#" on-click={(e) => this.next(e)}><span aria-hidden="true">&raquo;</span></a>
2020
</li>
2121
<li class={{ disabled: this.pages.current_page === this.pages.last_page }}>
22-
<a href="#" on-click={ (e) => this.lastPage(e, this.pages.last_page) }><span aria-hidden="true">&raquo;&raquo;</span></a>
22+
<a href="#" on-click={(e) => this.lastPage(e, this.pages.last_page)}><span aria-hidden="true">&raquo;&raquo;</span></a>
2323
</li>
2424
</ul>
2525
</nav>
@@ -34,8 +34,8 @@ export default {
3434
items: DatasourceUtils.gettingItems,
3535
paginationItems () {
3636
return this.items.map((item, index) => {
37-
return <li class={{ active: (this.pages.current_page === item) }}>
38-
<a href="#" on-click={ (e) => this.change(e, item) }>{ item }</a>
37+
return <li class={{active: (this.pages.current_page === item)}}>
38+
<a href="#" on-click={(e) => this.change(e, item)}>{item}</a>
3939
</li>
4040
})
4141
}

0 commit comments

Comments
 (0)