Files
threshold-ui/ui/admin/app/components/form/alias/index.js
T
2024-05-31 11:29:24 -07:00

21 lines
418 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 FormAliasComponent extends Component {
//actions
/**
* Handles input changes
*/
@action
handleHostIdChange({ target: { value } }) {
this.args.model.authorize_session_arguments = {
host_id: value,
};
}
}