Skip to content

Commit

Permalink
only add query params for transit secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
andaley committed Feb 14, 2020
1 parent af5287a commit 06555d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/templates/partials/secret-list/item.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<SecretLink
@mode={{if item.isFolder "list" "show" }}
@secret={{item.id}}
@queryParams={{query-params tab='actions'}}
@queryParams={{if (eq backendModel.type "transit") (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 06555d0

Please sign in to comment.