fix: 🐛 add featureflag to target creation template (#1108)

* fix: 🐛 add featureflag to target creation template

* refactor: 💡 remove else block
This commit is contained in:
Dharini Jeeva authored and GitHub committed 2022-05-13 10:57:52 -07:00
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