Delete ldap config from UI (#5871)

* add params to delete command

* pass known params

Co-authored-by: Daan Hoogland <dahn@onecht.net>
This commit is contained in:
dahn 2022-01-18 10:21:51 +01:00 committed by GitHub
parent 0e2c09baca
commit fb35f46a96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -51,10 +51,16 @@ export default {
label: 'label.remove.ldap',
message: 'message.remove.ldap',
dataView: true,
args: ['hostname'],
args: ['hostname', 'port', 'domainid'],
mapping: {
hostname: {
value: (record) => { return record.hostname }
},
port: {
value: (record) => { return record.port }
},
domainid: {
value: (record) => { return record.domainid }
}
}
}