Skip to content

Commit

Permalink
fix(users/edit): remove UkTab component usage
Browse files Browse the repository at this point in the history
since the route provided to a tab.link-item needs to start with the emeis route
and we dont know the name of the mounted name.
  • Loading branch information
velrest authored and anehx committed Oct 21, 2020
1 parent c5a0486 commit abfd9d5
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions addon/templates/users/edit.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<UkTab class="uk-child-width-1-2" as |tab|>
<tab.link-item @route="ember-emeis.users.edit.index" data-test-edit-link>
{{t "emeis.users.edit.edit-user"}}
</tab.link-item>
<ul uk-tab class="uk-child-width-1-2">
<li>
<LinkTo @route="users.edit.index" data-test-edit-link>
{{t "emeis.users.edit.edit-user"}}
</LinkTo>
</li>

<tab.link-item @route="ember-emeis.users.edit.acl" data-test-acl-link>
{{t "emeis.users.edit.acl"}}
</tab.link-item>
</UkTab>
<li>
<LinkTo @route="users.edit.acl" data-test-acl-link>
{{t "emeis.users.edit.acl"}}
</LinkTo>
</li>
</ul>
{{outlet}}

0 comments on commit abfd9d5

Please sign in to comment.