From 2573cc3230283fedde9f7a49a81ff1cb76b01faf Mon Sep 17 00:00:00 2001 From: Bartek Date: Mon, 26 Jul 2021 20:40:15 +0200 Subject: [PATCH] Disable 'You will not be able to access these later' warning for static database credentials (#12148) --- ui/app/templates/components/generate-credentials-database.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/templates/components/generate-credentials-database.hbs b/ui/app/templates/components/generate-credentials-database.hbs index 4661500df4..c28cba7200 100644 --- a/ui/app/templates/components/generate-credentials-database.hbs +++ b/ui/app/templates/components/generate-credentials-database.hbs @@ -42,13 +42,13 @@ {{/unless}} - {{#unless (or @model.errorMessage (not @roleType))}} + {{#if (and (not @model.errorMessage) (eq @roleType 'dynamic'))}} - {{/unless}} + {{/if}} {{!-- DYNAMIC ROLE --}} {{#if (and (eq @roleType 'dynamic') @model.username)}}