Skip to content

Commit

Permalink
link to key actions page by default
Browse files Browse the repository at this point in the history
  • Loading branch information
andaley committed Feb 12, 2020
1 parent e39fb8e commit d436295
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/app/templates/partials/secret-list/item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
class="list-item-row"
data-test-secret-link=item.id
encode=true
queryParams=(hash tab='actions')
}}
<div class="columns is-mobile">
<div class="column is-10">
<SecretLink
@mode={{if item.isFolder "list" "show" }}
@secret={{item.id}}
@queryParams={{query-params tab='actions'}}
@class="has-text-black has-text-weight-semibold"><Icon
@glyph={{if item.isFolder 'folder-outline' 'file-outline' }}
@class="has-text-grey-light"/>{{if (eq item.id ' ') '(self)' (or item.keyWithoutParent item.id)}}
Expand Down

0 comments on commit d436295

Please sign in to comment.