mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
fa85a75bc8
commit
41b4f0afd5
@ -445,6 +445,13 @@ export default {
|
|||||||
this.fields[apiKeyAccessIndex].loading = false
|
this.fields[apiKeyAccessIndex].loading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (arrayField.includes('usersource')) {
|
||||||
|
const userSourceIndex = this.fields.findIndex(item => item.name === 'usersource')
|
||||||
|
this.fields[userSourceIndex].loading = true
|
||||||
|
this.fields[userSourceIndex].opts = this.fetchAvailableUserSourceTypes()
|
||||||
|
this.fields[userSourceIndex].loading = false
|
||||||
|
}
|
||||||
|
|
||||||
if (arrayField.includes('arch')) {
|
if (arrayField.includes('arch')) {
|
||||||
const typeIndex = this.fields.findIndex(item => item.name === 'arch')
|
const typeIndex = this.fields.findIndex(item => item.name === 'arch')
|
||||||
this.fields[typeIndex].loading = true
|
this.fields[typeIndex].loading = true
|
||||||
@ -1309,6 +1316,26 @@ export default {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
fetchAvailableUserSourceTypes () {
|
||||||
|
return [
|
||||||
|
{
|
||||||
|
id: 'native',
|
||||||
|
name: 'label.native'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'saml2',
|
||||||
|
name: 'label.saml'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'saml2disabled',
|
||||||
|
name: 'label.saml.disabled'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 'ldap',
|
||||||
|
name: 'label.ldap'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
onSearch (value) {
|
onSearch (value) {
|
||||||
this.paramsFilter = {}
|
this.paramsFilter = {}
|
||||||
this.searchQuery = value
|
this.searchQuery = value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user