From 32c9becea7012bc3be7fb6ef91fb22acebe8cb71 Mon Sep 17 00:00:00 2001 From: Dharini Jeeva Date: Fri, 7 Oct 2022 09:31:51 -0700 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20clean=20form=20errors?= =?UTF-8?q?=20(#1363)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/admin/app/components/form/account/oidc/index.hbs | 1 - .../components/form/account/password/change-password/index.hbs | 1 - ui/admin/app/components/form/account/password/index.hbs | 1 - .../app/components/form/account/password/set-password/index.hbs | 1 - ui/admin/app/components/form/auth-method/oidc/index.hbs | 1 - ui/admin/app/components/form/auth-method/password/index.hbs | 1 - ui/admin/app/components/form/credential-store/static/index.hbs | 1 - ui/admin/app/components/form/credential-store/vault/index.hbs | 1 - ui/admin/app/components/form/group/add-members/index.hbs | 1 - ui/admin/app/components/form/group/index.hbs | 1 - ui/admin/app/components/form/host-catalog/aws/index.hbs | 1 - ui/admin/app/components/form/host-catalog/azure/index.hbs | 1 - ui/admin/app/components/form/host-catalog/static/index.hbs | 1 - ui/admin/app/components/form/host-set/add-hosts/index.hbs | 1 - ui/admin/app/components/form/host-set/aws/index.hbs | 1 - ui/admin/app/components/form/host-set/azure/index.hbs | 1 - ui/admin/app/components/form/host-set/static/index.hbs | 1 - ui/admin/app/components/form/host/aws/index.hbs | 1 - ui/admin/app/components/form/host/azure/index.hbs | 1 - ui/admin/app/components/form/host/static/index.hbs | 1 - ui/admin/app/components/form/managed-group/index.hbs | 1 - ui/admin/app/components/form/role/add-principals/index.hbs | 1 - ui/admin/app/components/form/role/grants/index.hbs | 1 - ui/admin/app/components/form/role/index.hbs | 1 - ui/admin/app/components/form/scope/index.hbs | 1 - .../form/target/add-brokered-credential-sources/index.hbs | 1 - ui/admin/app/components/form/target/add-host-sets/index.hbs | 1 - ui/admin/app/components/form/target/details/index.hbs | 1 - ui/admin/app/components/form/user/add-accounts/index.hbs | 1 - ui/admin/app/components/form/user/index.hbs | 1 - 30 files changed, 30 deletions(-) diff --git a/ui/admin/app/components/form/account/oidc/index.hbs b/ui/admin/app/components/form/account/oidc/index.hbs index ef0ac0077..9a7d282de 100644 --- a/ui/admin/app/components/form/account/oidc/index.hbs +++ b/ui/admin/app/components/form/account/oidc/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/account/password/change-password/index.hbs b/ui/admin/app/components/form/account/password/change-password/index.hbs index aff86365d..46d2f0df9 100644 --- a/ui/admin/app/components/form/account/password/change-password/index.hbs +++ b/ui/admin/app/components/form/account/password/change-password/index.hbs @@ -3,7 +3,6 @@ @onSubmit={{fn this.submit @submit this.currentPassword this.newPassword}} @cancel={{fn this.cancel @cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} as |form| > diff --git a/ui/admin/app/components/form/account/password/index.hbs b/ui/admin/app/components/form/account/password/index.hbs index c5a39745d..025fcb7ec 100644 --- a/ui/admin/app/components/form/account/password/index.hbs +++ b/ui/admin/app/components/form/account/password/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{fn this.submit @submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/account/password/set-password/index.hbs b/ui/admin/app/components/form/account/password/set-password/index.hbs index 0a1b34ef8..eef1593dd 100644 --- a/ui/admin/app/components/form/account/password/set-password/index.hbs +++ b/ui/admin/app/components/form/account/password/set-password/index.hbs @@ -1,7 +1,6 @@ diff --git a/ui/admin/app/components/form/auth-method/oidc/index.hbs b/ui/admin/app/components/form/auth-method/oidc/index.hbs index 1e5cf26d8..ac1009c07 100644 --- a/ui/admin/app/components/form/auth-method/oidc/index.hbs +++ b/ui/admin/app/components/form/auth-method/oidc/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/auth-method/password/index.hbs b/ui/admin/app/components/form/auth-method/password/index.hbs index d7005538f..6e33d75a5 100644 --- a/ui/admin/app/components/form/auth-method/password/index.hbs +++ b/ui/admin/app/components/form/auth-method/password/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/credential-store/static/index.hbs b/ui/admin/app/components/form/credential-store/static/index.hbs index 85cd00832..6ecb7d21d 100644 --- a/ui/admin/app/components/form/credential-store/static/index.hbs +++ b/ui/admin/app/components/form/credential-store/static/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/credential-store/vault/index.hbs b/ui/admin/app/components/form/credential-store/vault/index.hbs index f09c1387b..821b368ce 100644 --- a/ui/admin/app/components/form/credential-store/vault/index.hbs +++ b/ui/admin/app/components/form/credential-store/vault/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/group/add-members/index.hbs b/ui/admin/app/components/form/group/add-members/index.hbs index d0caedd3e..466c9933a 100644 --- a/ui/admin/app/components/form/group/add-members/index.hbs +++ b/ui/admin/app/components/form/group/add-members/index.hbs @@ -5,7 +5,6 @@ @onSubmit={{fn this.submit @submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} as |form| > diff --git a/ui/admin/app/components/form/group/index.hbs b/ui/admin/app/components/form/group/index.hbs index 7ed797846..c5cd5a56c 100644 --- a/ui/admin/app/components/form/group/index.hbs +++ b/ui/admin/app/components/form/group/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/host-catalog/aws/index.hbs b/ui/admin/app/components/form/host-catalog/aws/index.hbs index ef3b9c397..73843465d 100644 --- a/ui/admin/app/components/form/host-catalog/aws/index.hbs +++ b/ui/admin/app/components/form/host-catalog/aws/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/host-catalog/azure/index.hbs b/ui/admin/app/components/form/host-catalog/azure/index.hbs index 17d4e14d9..934dd9c87 100644 --- a/ui/admin/app/components/form/host-catalog/azure/index.hbs +++ b/ui/admin/app/components/form/host-catalog/azure/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/host-catalog/static/index.hbs b/ui/admin/app/components/form/host-catalog/static/index.hbs index 58bfe36da..be8132a55 100644 --- a/ui/admin/app/components/form/host-catalog/static/index.hbs +++ b/ui/admin/app/components/form/host-catalog/static/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/host-set/add-hosts/index.hbs b/ui/admin/app/components/form/host-set/add-hosts/index.hbs index 9eaa01c32..764da4ea4 100644 --- a/ui/admin/app/components/form/host-set/add-hosts/index.hbs +++ b/ui/admin/app/components/form/host-set/add-hosts/index.hbs @@ -4,7 +4,6 @@ @onSubmit={{fn this.submit @submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} as |form| > diff --git a/ui/admin/app/components/form/host-set/aws/index.hbs b/ui/admin/app/components/form/host-set/aws/index.hbs index 46936365a..01ae87e85 100644 --- a/ui/admin/app/components/form/host-set/aws/index.hbs +++ b/ui/admin/app/components/form/host-set/aws/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/host-set/azure/index.hbs b/ui/admin/app/components/form/host-set/azure/index.hbs index 693e513f9..e47750175 100644 --- a/ui/admin/app/components/form/host-set/azure/index.hbs +++ b/ui/admin/app/components/form/host-set/azure/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/host-set/static/index.hbs b/ui/admin/app/components/form/host-set/static/index.hbs index 7ed797846..c5cd5a56c 100644 --- a/ui/admin/app/components/form/host-set/static/index.hbs +++ b/ui/admin/app/components/form/host-set/static/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/host/aws/index.hbs b/ui/admin/app/components/form/host/aws/index.hbs index f3a506d3a..3eacb7ede 100644 --- a/ui/admin/app/components/form/host/aws/index.hbs +++ b/ui/admin/app/components/form/host/aws/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/host/azure/index.hbs b/ui/admin/app/components/form/host/azure/index.hbs index 75af7dfd8..4bc577e1b 100644 --- a/ui/admin/app/components/form/host/azure/index.hbs +++ b/ui/admin/app/components/form/host/azure/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/host/static/index.hbs b/ui/admin/app/components/form/host/static/index.hbs index d86c04f1c..a91894124 100644 --- a/ui/admin/app/components/form/host/static/index.hbs +++ b/ui/admin/app/components/form/host/static/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/managed-group/index.hbs b/ui/admin/app/components/form/managed-group/index.hbs index d0083ef2c..f62a6d621 100644 --- a/ui/admin/app/components/form/managed-group/index.hbs +++ b/ui/admin/app/components/form/managed-group/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/role/add-principals/index.hbs b/ui/admin/app/components/form/role/add-principals/index.hbs index 78a376b4d..af8c5d242 100644 --- a/ui/admin/app/components/form/role/add-principals/index.hbs +++ b/ui/admin/app/components/form/role/add-principals/index.hbs @@ -5,7 +5,6 @@ @onSubmit={{fn this.submit @submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} as |form| > diff --git a/ui/admin/app/components/form/role/grants/index.hbs b/ui/admin/app/components/form/role/grants/index.hbs index d6aaad424..8935fd7c3 100644 --- a/ui/admin/app/components/form/role/grants/index.hbs +++ b/ui/admin/app/components/form/role/grants/index.hbs @@ -43,7 +43,6 @@ @onSubmit={{fn @submit this.grantStrings}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} as |form| > diff --git a/ui/admin/app/components/form/role/index.hbs b/ui/admin/app/components/form/role/index.hbs index 39e0094fd..2b53fb6e4 100644 --- a/ui/admin/app/components/form/role/index.hbs +++ b/ui/admin/app/components/form/role/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/scope/index.hbs b/ui/admin/app/components/form/scope/index.hbs index d86d409b3..6a2a4913b 100644 --- a/ui/admin/app/components/form/scope/index.hbs +++ b/ui/admin/app/components/form/scope/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/target/add-brokered-credential-sources/index.hbs b/ui/admin/app/components/form/target/add-brokered-credential-sources/index.hbs index 32ca4ae51..db08f900b 100644 --- a/ui/admin/app/components/form/target/add-brokered-credential-sources/index.hbs +++ b/ui/admin/app/components/form/target/add-brokered-credential-sources/index.hbs @@ -3,7 +3,6 @@ @onSubmit={{fn @submit this.selectedCredentialSourceIDs}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} as |form| > diff --git a/ui/admin/app/components/form/target/details/index.hbs b/ui/admin/app/components/form/target/details/index.hbs index 8737be6dd..212cb7583 100644 --- a/ui/admin/app/components/form/target/details/index.hbs +++ b/ui/admin/app/components/form/target/details/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| > diff --git a/ui/admin/app/components/form/user/add-accounts/index.hbs b/ui/admin/app/components/form/user/add-accounts/index.hbs index 1e9dd1380..8536a7b2e 100644 --- a/ui/admin/app/components/form/user/add-accounts/index.hbs +++ b/ui/admin/app/components/form/user/add-accounts/index.hbs @@ -4,7 +4,6 @@ @onSubmit={{fn this.submit @submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} as |form| > diff --git a/ui/admin/app/components/form/user/index.hbs b/ui/admin/app/components/form/user/index.hbs index 7ed797846..c5cd5a56c 100644 --- a/ui/admin/app/components/form/user/index.hbs +++ b/ui/admin/app/components/form/user/index.hbs @@ -2,7 +2,6 @@ @onSubmit={{@submit}} @cancel={{@cancel}} @disabled={{@model.isSaving}} - @error={{@model.errors.base}} @showEditToggle={{if @model.isNew false true}} as |form| >