Commit 920f4430 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch...

Merge branch '262168-pagination-of-bitbucket-server-importer-ignores-first-25-repositories' into 'master'

Remove unneded pagination code

See merge request gitlab-org/gitlab!49589
parents d96ff9aa 72a08617
......@@ -2,7 +2,6 @@ import Vue from 'vue';
import Translate from '../vue_shared/translate';
import ImportProjectsTable from './components/import_projects_table.vue';
import { parseBoolean } from '../lib/utils/common_utils';
import { queryToObject } from '../lib/utils/url_utility';
import createStore from './store';
Vue.use(Translate);
......@@ -20,18 +19,12 @@ export function initStoreFromElement(element) {
paginatable,
} = element.dataset;
const params = queryToObject(document.location.search);
const page = parseInt(params.page ?? 1, 10);
return createStore({
initialState: {
defaultTargetNamespace: gon.current_username,
ciCdOnly: parseBoolean(ciCdOnly),
canSelectNamespace: parseBoolean(canSelectNamespace),
provider,
pageInfo: {
page,
},
},
endpoints: {
reposPath,
......
---
title: Remove unneeded pagination code for project importers.
merge_request: 49589
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment