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

20 lines
418 B
JavaScript
Raw Normal View History

2024-03-21 09:50:51 -07:00
/**
* Copyright (c) HashiCorp, Inc.
* 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
}
}