mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
bump templates form credential_types page limit
This commit is contained in:
parent
42098bfa6d
commit
4c79e6912e
@ -1,8 +1,8 @@
|
||||
export default ['Rest', 'GetBasePath', 'ProcessErrors',
|
||||
function(Rest, GetBasePath, ProcessErrors) {
|
||||
return function() {
|
||||
return function(params = null) {
|
||||
Rest.setUrl(GetBasePath('credential_types'));
|
||||
return Rest.get()
|
||||
return Rest.get({ params })
|
||||
.then(({data}) => {
|
||||
var val = {};
|
||||
data.results.forEach(type => {
|
||||
|
@ -10,7 +10,7 @@ export default ['templateUrl', 'Rest', 'GetBasePath', 'generateList', '$compile'
|
||||
templateUrl: templateUrl('templates/job_templates/multi-credential/multi-credential-modal'),
|
||||
|
||||
link: function(scope, element) {
|
||||
credentialTypesLookup()
|
||||
credentialTypesLookup({ page_size: 200 })
|
||||
.then(kinds => {
|
||||
scope.credentialKinds = kinds;
|
||||
|
||||
|
@ -77,7 +77,7 @@ export default ['Rest', 'ProcessErrors', '$q', 'GetBasePath', function(Rest, Pro
|
||||
// credential type selector
|
||||
val.getCredentialTypes = () => {
|
||||
Rest.setUrl(GetBasePath('credential_types'));
|
||||
return Rest.get()
|
||||
return Rest.get({ params: { page_size: 200 }})
|
||||
.then(({data}) => {
|
||||
let credential_types = {}, credentialTypeOptions = [];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user