refactor: 💡 new auth method route must be reached with a type

This commit is contained in:
Randall Morey committed 2021-01-05 17:41:02 -05:00
1 parent fb94deab88
commit ce9a4ae9b2
6 files changed
+33 -11

No files matched your search

@@ -13,9 +13,17 @@
<page.actions>
{{#if @model}}
<Rose::LinkButton @route="scopes.scope.auth-methods.new" @style="primary">
{{t "titles.new"}}
</Rose::LinkButton>
<Rose::Dropdown
@text={{t "titles.new"}}
@dropdownRight={{true}}
as |dropdown|>
<dropdown.link
@route="scopes.scope.auth-methods.new"
@query={{hash type="password"}}
>
{{t 'resources.auth-method.types.password'}}
</dropdown.link>
</Rose::Dropdown>
{{/if}}
</page.actions>