Files
threshold-ui/ui/admin/app/components/form/alias/index.js
T
Dharini Jeeva 80b633a063 Alias clear modal (#2239)
* fix: 🐛 permissions to create aliases within targets
2024-04-15 09:15:38 -07:00

21 lines
417 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Component from '@glimmer/component';
import { action } from '@ember/object';
export default class FormAliasComponent extends Component {
//actions
/**
* Handles input changes
*/
@action
handleHostIdChange({ target: { value } }) {
this.args.model.authorize_session_arguments = {
host_id: value,
};
}
}