Files
threshold-ui/ui/admin/app/components/form/role/index.js
T

16 lines
327 B
JavaScript
Raw Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
2020-11-03 12:01:46 -05:00
import Component from '@glimmer/component';
import { action } from '@ember/object';
2020-11-03 12:01:46 -05:00
export default class FormRoleGrantsComponent extends Component {
// =actions
2020-11-03 12:01:46 -05:00
@action
updateGrantScopeID(id) {
this.args.model.grant_scope_id = id;
2020-11-03 12:01:46 -05:00
}
}