diff --git a/lib/public/views/QcFlags/ForDataPass/QcFlagsForDataPassOverviewPage.js b/lib/public/views/QcFlags/ForDataPass/QcFlagsForDataPassOverviewPage.js index 3a16b2cb41..1d2ae35850 100644 --- a/lib/public/views/QcFlags/ForDataPass/QcFlagsForDataPassOverviewPage.js +++ b/lib/public/views/QcFlags/ForDataPass/QcFlagsForDataPassOverviewPage.js @@ -24,6 +24,7 @@ import { qcFlagsBreadcrumbs } from '../../../components/qcFlags/qcFlagsBreadcrum import errorAlert from '../../../components/common/errorAlert.js'; import spinner from '../../../components/common/spinner.js'; import { remoteDplDetectorUserHasAccessTo } from '../../../services/detectors/remoteDplDetectorUserHasAccessTo.js'; +import { paginationComponent } from '../../../components/Pagination/paginationComponent.js'; const TABLEROW_HEIGHT = 35; // Estimate of the navbar and pagination elements height total; Needs to be updated in case of changes; @@ -45,6 +46,7 @@ export const QcFlagsForDataPassOverviewPage = ({ dplDetector: remoteDplDetector, items: remoteQcFlags, sortModel, + pagination: paginationModel, } = qcFlagsForDataPassOverviewModel; qcFlagsForDataPassOverviewModel.pagination.provideDefaultItemsPerPage(estimateDisplayableRowsCount( @@ -101,6 +103,7 @@ export const QcFlagsForDataPassOverviewPage = ({ null, { sort: sortModel }, ), + paginationComponent(paginationModel), ]), ], Loading: () => spinner(), diff --git a/lib/public/views/QcFlags/Overview/QcFlagsOverviewModel.js b/lib/public/views/QcFlags/Overview/QcFlagsOverviewModel.js index 0758d5fa9c..5eaa5d58f0 100644 --- a/lib/public/views/QcFlags/Overview/QcFlagsOverviewModel.js +++ b/lib/public/views/QcFlags/Overview/QcFlagsOverviewModel.js @@ -46,13 +46,6 @@ export class QcFlagsOverviewModel extends OverviewPageModel { super.load(); } - /** - * @inheritdoc - */ - getLoadParameters() { - return {}; - } - /** * Fetch DPL detector which QC flags should be fetched * @return {void}