From fb35f46a964c71117e40b69020f93d1f35be9c21 Mon Sep 17 00:00:00 2001 From: dahn Date: Tue, 18 Jan 2022 10:21:51 +0100 Subject: [PATCH] Delete ldap config from UI (#5871) * add params to delete command * pass known params Co-authored-by: Daan Hoogland --- ui/src/config/section/config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/src/config/section/config.js b/ui/src/config/section/config.js index 8b77c65d411..25c4e3e3ffe 100644 --- a/ui/src/config/section/config.js +++ b/ui/src/config/section/config.js @@ -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 } } } }