Files
threshold-ui/ui/admin/app/components/form/managed-group/ldap/index.js
T
Lisbet Alvarez d49f3b72a6 feat: 🎸 CRUDL capabilites for ldap managed-group (#1805)
* feat: 🎸 CRUDL capabilites for ldap managed-group

✅ Closes: ICU-10100

* refactor: 💡 managed-group serializer & remove members tab

* refactor: 💡 show members tab

* fix: 🐛 add type getters in managed group model

* refactor: 💡 fix column name
2023-07-28 13:52:04 -07:00

25 lines
506 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import { action } from '@ember/object';
import { tracked } from '@glimmer/tracking';
export default class FormManagedGroupLdapComponent extends Component {
// =attributes
/**
* @type {string}
*/
@tracked newGroup = '';
@action
addGroupName() {
if (this.newGroup) {
this.args.addStringItem('group_names', this.newGroup);
}
this.newGroup = '';
}
}