Files
threshold-ui/ui/admin/app/components/form/host/index.hbs
T
hashicc 72fa6d86c4 Update copyright headers (#3161)
* chore: 🤖 remove hashi copyright .github headers and update config

* chore: 🤖 remove remaining hashicorp copyright headers

* Add missing copyright headers
2026-02-03 12:08:35 -05:00

20 lines
514 B
Handlebars

{{!
Copyright IBM Corp. 2021, 2026
SPDX-License-Identifier: BUSL-1.1
}}
{{#if @model.compositeType}}
<this.hostFormComponent
@model={{@model}}
@submit={{@submit}}
@cancel={{@cancel}}
/>
{{else}}
{{! create-and-add-host cancel route doesn't have a model and this else part is required
to prevent erroring out here. This has been noted in the tech debt doc to further investigate }}
<Form::Host::Static
@model={{@model}}
@submit={{@submit}}
@cancel={{@cancel}}
/>
{{/if}}