backport of commit 8834e4d16bb08972d4e0561e22dfde4d4536cf1d (#21868)

Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
This commit is contained in:
hc-github-team-secure-vault-core 2023-07-14 14:18:36 -04:00 committed by GitHub
parent 6655be126a
commit 7f6d4dc70b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 45 additions and 38 deletions

View File

@ -60,6 +60,7 @@
</Toolbar>
{{#if (eq this.tab "targets")}}
{{#if @model.targets}}
{{#each @model.targets as |target|}}
<LinkedBlock
class="list-item-row"
@ -101,6 +102,12 @@
</div>
</LinkedBlock>
{{/each}}
{{else}}
<EmptyState
@title="No target exists for this enforcement"
@message="A target might have been deleted after the enforcement was created."
/>
{{/if}}
{{else if (eq this.tab "methods")}}
{{#each this.model.mfa_methods as |method|}}
<Mfa::MethodListItem @model={{method}} />