diff --git a/ui-v2/app/components/auth-form/index.hbs b/ui-v2/app/components/auth-form/index.hbs index c9ec424984f4..e83e3f05cebb 100644 --- a/ui-v2/app/components/auth-form/index.hbs +++ b/ui-v2/app/components/auth-form/index.hbs @@ -93,7 +93,7 @@ @nspace={{or value.Namespace nspace}} @type={{if value.Name 'oidc' 'secret'}} @value={{if value.Name value.Name value}} - @onchange={{action onsubmit}} + @onchange={{queue (action dispatch "RESET") (action onsubmit)}} @onerror={{queue (action (mut error) value="error.errors.firstObject") (action dispatch "ERROR")}} /> diff --git a/ui-v2/app/components/empty-state/index.hbs b/ui-v2/app/components/empty-state/index.hbs index d42fa7ccc9cb..8af5c2716302 100644 --- a/ui-v2/app/components/empty-state/index.hbs +++ b/ui-v2/app/components/empty-state/index.hbs @@ -8,11 +8,24 @@ {{yield}} {{/yield-slot}} -

- {{#yield-slot name="body"}} + {{#yield-slot name="body"}} +

{{yield}} - {{/yield-slot}} -

+ {{#if (and (env 'CONSUL_ACLS_ENABLED') allowLogin)}} + + {{/if}} +
+ {{/yield-slot}} {{#yield-slot name="actions"}}