Disable 'You will not be able to access these later' warning for static database credentials (#12148)

This commit is contained in:
Bartek 2021-07-26 20:40:15 +02:00 committed by GitHub
parent a1a6b44a2c
commit 2573cc3230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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