2024-03-21 09:50:51 -07:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2024-05-31 11:29:24 -07:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2024-03-21 09:50:51 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import Component from '@glimmer/component';
|
|
|
|
|
import { action } from '@ember/object';
|
|
|
|
|
|
|
|
|
|
export default class FormAliasComponent extends Component {
|
|
|
|
|
//actions
|
|
|
|
|
/**
|
|
|
|
|
* Handles input changes
|
|
|
|
|
*/
|
|
|
|
|
@action
|
|
|
|
|
handleHostIdChange({ target: { value } }) {
|
2024-04-15 09:15:38 -07:00
|
|
|
this.args.model.authorize_session_arguments = {
|
|
|
|
|
host_id: value,
|
|
|
|
|
};
|
2024-03-21 09:50:51 -07:00
|
|
|
}
|
|
|
|
|
}
|