Fix: link on database role item goes to correct URL (#11597)

* Fix: link on database role item goes to correct URL

* Add changelog
This commit is contained in:
Chelsea Shaw 2021-05-12 14:33:35 -05:00 committed by GitHub
parent 641a81b74b
commit 6567066d26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
changelog/11597.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
ui: Fix text link URL on database roles list
```

View File

@ -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"