Skip to content

Commit

Permalink
Fix: link on database role item goes to correct URL (#11597)
Browse files Browse the repository at this point in the history
* Fix: link on database role item goes to correct URL

* Add changelog
  • Loading branch information
hashishaw committed May 12, 2021
1 parent 370e128 commit fcf2fb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/11597.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Fix text link URL on database roles list
```
2 changes: 1 addition & 1 deletion ui/app/templates/components/database-list-item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}}
<div class="columns is-mobile">
<div class="column is-10">
<LinkTo @route={{concat "vault.cluster.secrets.backend.show" }} @model={{@item.id}} class="has-text-black has-text-weight-semibold">
<LinkTo @route={{concat "vault.cluster.secrets.backend.show" }} @model={{if keyTypeValue (concat 'role/' @item.id) @item.id}} class="has-text-black has-text-weight-semibold">
<Icon
@glyph="user-square-outline"
class="has-text-grey-light is-pulled-left"
Expand Down

0 comments on commit fcf2fb0

Please sign in to comment.