From bafb09a502822d06a7dbb7e3c297ecade96841f4 Mon Sep 17 00:00:00 2001 From: Philipp <129884416+bonsaibauer@users.noreply.github.com> Date: Mon, 17 Apr 2023 16:00:29 +0200 Subject: [PATCH] Exclude "Administratoren" --- .../discourse/components/custom-wizard-group-selector.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/discourse/components/custom-wizard-group-selector.js.es6 b/assets/javascripts/discourse/components/custom-wizard-group-selector.js.es6 index 764cda97..7a25bff2 100644 --- a/assets/javascripts/discourse/components/custom-wizard-group-selector.js.es6 +++ b/assets/javascripts/discourse/components/custom-wizard-group-selector.js.es6 @@ -17,7 +17,8 @@ export default ComboBox.extend({ id: g.id, name: g.full_name ? g.full_name : g.name, }; - }); + }) + .filter((group) => group.name !== "Administratoren"); // Filtert die Gruppe "Administratoren" aus }), didInsertElement() { @@ -29,4 +30,3 @@ export default ComboBox.extend({ this.updateValue([...selectedGroups, ...unselectedGroups]); }, }); -