17 lines
328 B
JavaScript
17 lines
328 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import Component from '@glimmer/component';
|
|
import { action } from '@ember/object';
|
|
|
|
export default class FormRoleGrantsComponent extends Component {
|
|
// =actions
|
|
|
|
@action
|
|
updateGrantScopeID(id) {
|
|
this.args.model.grant_scope_id = id;
|
|
}
|
|
}
|