|
@@ -65,7 +65,6 @@ const Pagination = ({
|
|
|
setPageNumber(1);
|
|
setPageNumber(1);
|
|
|
}}
|
|
}}
|
|
|
className="hue-pagination__page-size-menu-item-btn"
|
|
className="hue-pagination__page-size-menu-item-btn"
|
|
|
- data-event={''}
|
|
|
|
|
>
|
|
>
|
|
|
{option}
|
|
{option}
|
|
|
</BorderlessButton>
|
|
</BorderlessButton>
|
|
@@ -81,7 +80,6 @@ const Pagination = ({
|
|
|
<Dropdown menu={{ items: pageSizeOptionsMenu }}>
|
|
<Dropdown menu={{ items: pageSizeOptionsMenu }}>
|
|
|
<BorderlessButton
|
|
<BorderlessButton
|
|
|
className="hue-pagination__page-size-menu-btn"
|
|
className="hue-pagination__page-size-menu-btn"
|
|
|
- data-event={''}
|
|
|
|
|
icon={<DropdownIcon />}
|
|
icon={<DropdownIcon />}
|
|
|
iconPosition="right"
|
|
iconPosition="right"
|
|
|
>
|
|
>
|
|
@@ -99,7 +97,6 @@ const Pagination = ({
|
|
|
<BorderlessButton
|
|
<BorderlessButton
|
|
|
onClick={() => setPageNumber(1)}
|
|
onClick={() => setPageNumber(1)}
|
|
|
className="hue-pagination__control-button"
|
|
className="hue-pagination__control-button"
|
|
|
- data-event={''}
|
|
|
|
|
disabled={pageStats.pageNumber === 1}
|
|
disabled={pageStats.pageNumber === 1}
|
|
|
title={t('First Page')}
|
|
title={t('First Page')}
|
|
|
icon={<PageFirstIcon />}
|
|
icon={<PageFirstIcon />}
|
|
@@ -107,7 +104,6 @@ const Pagination = ({
|
|
|
<BorderlessButton
|
|
<BorderlessButton
|
|
|
onClick={() => setPageNumber(pageStats.pageNumber - 1)}
|
|
onClick={() => setPageNumber(pageStats.pageNumber - 1)}
|
|
|
className="hue-pagination__control-button"
|
|
className="hue-pagination__control-button"
|
|
|
- data-event={''}
|
|
|
|
|
disabled={pageStats.pageNumber === 1}
|
|
disabled={pageStats.pageNumber === 1}
|
|
|
title={t('First Page')}
|
|
title={t('First Page')}
|
|
|
icon={<PagePreviousIcon />}
|
|
icon={<PagePreviousIcon />}
|
|
@@ -115,7 +111,6 @@ const Pagination = ({
|
|
|
<BorderlessButton
|
|
<BorderlessButton
|
|
|
onClick={() => setPageNumber(pageStats.pageNumber + 1)}
|
|
onClick={() => setPageNumber(pageStats.pageNumber + 1)}
|
|
|
className="hue-pagination__control-button"
|
|
className="hue-pagination__control-button"
|
|
|
- data-event={''}
|
|
|
|
|
disabled={pageStats.pageNumber === pageStats.totalPages}
|
|
disabled={pageStats.pageNumber === pageStats.totalPages}
|
|
|
title={t('Next Page')}
|
|
title={t('Next Page')}
|
|
|
icon={<PageNextIcon />}
|
|
icon={<PageNextIcon />}
|
|
@@ -123,7 +118,6 @@ const Pagination = ({
|
|
|
<BorderlessButton
|
|
<BorderlessButton
|
|
|
onClick={() => setPageNumber(pageStats.totalPages)}
|
|
onClick={() => setPageNumber(pageStats.totalPages)}
|
|
|
className="hue-pagination__control-button"
|
|
className="hue-pagination__control-button"
|
|
|
- data-event={''}
|
|
|
|
|
disabled={pageStats.pageNumber === pageStats.totalPages}
|
|
disabled={pageStats.pageNumber === pageStats.totalPages}
|
|
|
title={t('Last Page')}
|
|
title={t('Last Page')}
|
|
|
icon={<PageLastIcon />}
|
|
icon={<PageLastIcon />}
|