* 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
25 lines
506 B
JavaScript
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 = '';
|
|
}
|
|
}
|