Skip to content

Commit

Permalink
Disable 'You will not be able to access these later' warning for stat…
Browse files Browse the repository at this point in the history
…ic database credentials (hashicorp#12148)
  • Loading branch information
Berciq authored and jartek committed Sep 11, 2021
1 parent 26186e4 commit 51cd9a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/templates/components/generate-credentials-database.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
</nav>
</EmptyState>
{{/unless}}
{{#unless (or @model.errorMessage (not @roleType))}}
{{#if (and (not @model.errorMessage) (eq @roleType 'dynamic'))}}
<AlertBanner
@type="warning"
@message="You will not be able to access these credentials later, so please copy them now."
data-test-warning
/>
{{/unless}}
{{/if}}
{{!-- DYNAMIC ROLE --}}
{{#if (and (eq @roleType 'dynamic') @model.username)}}
<InfoTableRow @label="Username" @value={{@model.username}}>
Expand Down

0 comments on commit 51cd9a8

Please sign in to comment.