fix: 🐛 add featureflag to target creation template (#1108)
* fix: 🐛 add featureflag to target creation template * refactor: 💡 remove else block
This commit is contained in:
1 parent
97196368cb
commit
ee47f8e19e
1 file changed
+8
-6
@@ -58,12 +58,14 @@
|
||||
@value='tcp'
|
||||
@layout='wide'
|
||||
/>
|
||||
<radioGroup.card
|
||||
@label={{t 'resources.target.types.ssh'}}
|
||||
@helperText={{t 'resources.target.help.ssh'}}
|
||||
@value='ssh'
|
||||
@layout='wide'
|
||||
/>
|
||||
{{#if (feature-flag 'ssh-target')}}
|
||||
<radioGroup.card
|
||||
@label={{t 'resources.target.types.ssh'}}
|
||||
@helperText={{t 'resources.target.help.ssh'}}
|
||||
@value='ssh'
|
||||
@layout='wide'
|
||||
/>
|
||||
{{/if}}
|
||||
</form.radioGroup>
|
||||
{{else}}
|
||||
<form.radioGroup
|
||||
|
||||
Reference in new issue
Block a user