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
608bcd44
Commit
608bcd44
authored
Mar 07, 2019
by
Lukas Eipert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
License Management: Load up to a 100 licenses per default
parent
626cbbe4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
ee/app/assets/javascripts/vue_shared/license_management/store/actions.js
...avascripts/vue_shared/license_management/store/actions.js
+1
-1
ee/changelogs/unreleased/10265-load-100-licenses-per-default.yml
...gelogs/unreleased/10265-load-100-licenses-per-default.yml
+5
-0
ee/spec/javascripts/license_management/store/actions_spec.js
ee/spec/javascripts/license_management/store/actions_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/vue_shared/license_management/store/actions.js
View file @
608bcd44
...
...
@@ -52,7 +52,7 @@ export const loadManagedLicenses = ({ dispatch, state }) => {
const
{
apiUrlManageLicenses
}
=
state
;
return
axios
.
get
(
apiUrlManageLicenses
)
.
get
(
apiUrlManageLicenses
,
{
params
:
{
per_page
:
100
}
}
)
.
then
(({
data
})
=>
{
dispatch
(
'
receiveLoadManagedLicenses
'
,
data
);
})
...
...
ee/changelogs/unreleased/10265-load-100-licenses-per-default.yml
0 → 100644
View file @
608bcd44
---
title
:
'
License
Management:
Load
up
to
a
100
licenses
per
default'
merge_request
:
9913
author
:
type
:
other
ee/spec/javascripts/license_management/store/actions_spec.js
View file @
608bcd44
...
...
@@ -444,7 +444,7 @@ describe('License store actions', () => {
let
endpointMock
;
beforeEach
(()
=>
{
endpointMock
=
axiosMock
.
onGet
(
apiUrlManageLicenses
);
endpointMock
=
axiosMock
.
onGet
(
apiUrlManageLicenses
,
{
params
:
{
per_page
:
100
}
}
);
});
it
(
'
dispatches requestLoadManagedLicenses and receiveLoadManagedLicenses for successful response
'
,
done
=>
{
...
...
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