mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-14 11:33:51 +00:00
Added hability to create servers
This commit is contained in:
@@ -35,17 +35,21 @@ export class Paginator extends React.Component {
|
||||
return (
|
||||
<Pagination>
|
||||
<PaginationItem disabled={currentPage === 1}>
|
||||
<PaginationLink previous
|
||||
tag={Link}
|
||||
to={`/server/${serverId}/list-short-urls/${currentPage - 1}`}
|
||||
onClick={() => this.updatePage(currentPage - 1)} />
|
||||
<PaginationLink
|
||||
previous
|
||||
tag={Link}
|
||||
to={`/server/${serverId}/list-short-urls/${currentPage - 1}`}
|
||||
onClick={() => this.updatePage(currentPage - 1)}
|
||||
/>
|
||||
</PaginationItem>
|
||||
{renderPages()}
|
||||
<PaginationItem disabled={currentPage >= pagesCount}>
|
||||
<PaginationLink next
|
||||
tag={Link}
|
||||
to={`/server/${serverId}/list-short-urls/${currentPage + 1}`}
|
||||
onClick={() => this.updatePage(currentPage + 1)} />
|
||||
<PaginationLink
|
||||
next
|
||||
tag={Link}
|
||||
to={`/server/${serverId}/list-short-urls/${currentPage + 1}`}
|
||||
onClick={() => this.updatePage(currentPage + 1)}
|
||||
/>
|
||||
</PaginationItem>
|
||||
</Pagination>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user