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 (#12148)
  • Loading branch information
Berciq committed Jul 26, 2021
1 parent a1a6b44 commit 2573cc3
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 2573cc3

Please sign in to comment.