diff --git a/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html b/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html
index 79c3b114c..210108160 100644
--- a/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html
+++ b/src/app/cdk/side-bar/modals/modal-email/modal-email.component.html
@@ -315,9 +315,8 @@
[name]="orcidEmailValidation"
[isEmailOrDomain]="true"
[date]="
- domain.createdDate
+ !domain.generatedByScript && domain.createdDate
| monthDayYearDateToString
- | verificationDateCutoff
"
[isLastItem]="true"
>
diff --git a/src/app/cdk/side-bar/side-bar/side-bar.component.html b/src/app/cdk/side-bar/side-bar/side-bar.component.html
index c8d875f19..03dbc9eb5 100644
--- a/src/app/cdk/side-bar/side-bar/side-bar.component.html
+++ b/src/app/cdk/side-bar/side-bar/side-bar.component.html
@@ -192,9 +192,8 @@
[name]="orcidEmailValidation"
[isEmailOrDomain]="true"
[date]="
- domain.createdDate
+ !domain.generatedByScript && domain.createdDate
| monthDayYearDateToString
- | verificationDateCutoff
"
[isLastItem]="true"
>
diff --git a/src/app/types/record.endpoint.ts b/src/app/types/record.endpoint.ts
index f4a03433f..21fc0a7fc 100644
--- a/src/app/types/record.endpoint.ts
+++ b/src/app/types/record.endpoint.ts
@@ -121,6 +121,7 @@ export interface AssertionVisibilityString extends AssertionBase {
visibility?: VisibilityStrings
action?: 'ADD' | 'UPDATE'
createdDate?: ExtendedDate
+ generatedByScript?: boolean
}
export interface GroupBase {