backport of commit 8834e4d16bb08972d4e0561e22dfde4d4536cf1d (#21868)
Co-authored-by: Angel Garbarino <Monkeychip@users.noreply.github.com>
This commit is contained in:
parent
6655be126a
commit
7f6d4dc70b
|
@ -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}} />
|
||||
|
|
Loading…
Reference in New Issue