Refactor edition enablement (#1657)
* refactor: 💡 consolidate ssh features into ssh-target flag ✅ Closes: ICU-8383 * refactor: 💡 factor out base edition * feat: 🎸 dynamic feature edition enablement and toggling
This commit is contained in:
1 parent
bd6eee8eb3
commit
acd719140d
24 files changed
+303
-91
No files matched your search
@@ -50,9 +50,7 @@
|
||||
{{/if}}
|
||||
</Hds::Form::Textarea::Field>
|
||||
|
||||
{{#if
|
||||
(and @model.isNew (feature-flag 'credential-library-vault-ssh-certificate'))
|
||||
}}
|
||||
{{#if (and @model.isNew (feature-flag 'ssh-target'))}}
|
||||
<Hds::Form::RadioCard::Group @name='type' @alignment='center' as |G|>
|
||||
<G.Legend>{{t 'form.type.label'}}</G.Legend>
|
||||
{{#each this.types as |type|}}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div class='target-worker-filter' data-test-filter={{@name}}>
|
||||
|
||||
<Hds::Form::Toggle::Field
|
||||
name='target-worker-filter-toggle'
|
||||
name={{concat 'target-worker-filter-toggle-' @name}}
|
||||
checked={{@toggleEnabled}}
|
||||
disabled={{@disabled}}
|
||||
@isOptional={{true}}
|
||||
|
||||
Reference in new issue
Block a user