Merge pull request #157 from hashicorp/fix-auth-links
fix: 🐛 pass IDs instead of models to link-to
This commit is contained in:
1 file changed
+2
-2
@@ -15,7 +15,7 @@
|
||||
@icon="user-organization"
|
||||
as |dropdown|>
|
||||
{{#each this.sortedScopes as |scope|}}
|
||||
<dropdown.link @route="scopes.scope.authenticate" @model={{scope}}>
|
||||
<dropdown.link @route="scopes.scope.authenticate" @model={{scope.id}}>
|
||||
{{scope.displayName}}
|
||||
</dropdown.link>
|
||||
{{/each}}
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<Rose::Nav::Tabs as |nav|>
|
||||
{{#each @model.authMethods as |authMethod|}}
|
||||
<nav.link @route="scopes.scope.authenticate.method" @model={{authMethod}}>
|
||||
<nav.link @route="scopes.scope.authenticate.method" @model={{authMethod.id}}>
|
||||
{{t (concat "auth.method-types." authMethod.type)}}
|
||||
</nav.link>
|
||||
{{/each}}
|
||||
|
||||
Reference in new issue
Block a user