Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
72a08617
Commit
72a08617
authored
Dec 09, 2020
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unneeded pagination code for project importers
parent
0fd4eec6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
app/assets/javascripts/import_projects/index.js
app/assets/javascripts/import_projects/index.js
+0
-7
changelogs/unreleased/262168-pagination-of-bitbucket-server-importer-ignores-first-25-repositor.yml
...-bitbucket-server-importer-ignores-first-25-repositor.yml
+5
-0
No files found.
app/assets/javascripts/import_projects/index.js
View file @
72a08617
...
@@ -2,7 +2,6 @@ import Vue from 'vue';
...
@@ -2,7 +2,6 @@ import Vue from 'vue';
import
Translate
from
'
../vue_shared/translate
'
;
import
Translate
from
'
../vue_shared/translate
'
;
import
ImportProjectsTable
from
'
./components/import_projects_table.vue
'
;
import
ImportProjectsTable
from
'
./components/import_projects_table.vue
'
;
import
{
parseBoolean
}
from
'
../lib/utils/common_utils
'
;
import
{
parseBoolean
}
from
'
../lib/utils/common_utils
'
;
import
{
queryToObject
}
from
'
../lib/utils/url_utility
'
;
import
createStore
from
'
./store
'
;
import
createStore
from
'
./store
'
;
Vue
.
use
(
Translate
);
Vue
.
use
(
Translate
);
...
@@ -20,18 +19,12 @@ export function initStoreFromElement(element) {
...
@@ -20,18 +19,12 @@ export function initStoreFromElement(element) {
paginatable
,
paginatable
,
}
=
element
.
dataset
;
}
=
element
.
dataset
;
const
params
=
queryToObject
(
document
.
location
.
search
);
const
page
=
parseInt
(
params
.
page
??
1
,
10
);
return
createStore
({
return
createStore
({
initialState
:
{
initialState
:
{
defaultTargetNamespace
:
gon
.
current_username
,
defaultTargetNamespace
:
gon
.
current_username
,
ciCdOnly
:
parseBoolean
(
ciCdOnly
),
ciCdOnly
:
parseBoolean
(
ciCdOnly
),
canSelectNamespace
:
parseBoolean
(
canSelectNamespace
),
canSelectNamespace
:
parseBoolean
(
canSelectNamespace
),
provider
,
provider
,
pageInfo
:
{
page
,
},
},
},
endpoints
:
{
endpoints
:
{
reposPath
,
reposPath
,
...
...
changelogs/unreleased/262168-pagination-of-bitbucket-server-importer-ignores-first-25-repositor.yml
0 → 100644
View file @
72a08617
---
title
:
Remove unneeded pagination code for project importers.
merge_request
:
49589
author
:
type
:
changed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment