From 891f0d3bd8e7312b86cc5f0611a310f98d38b889 Mon Sep 17 00:00:00 2001 From: andrej romanov <50377758+auumgn@users.noreply.github.com> Date: Tue, 17 Dec 2024 19:35:54 +0200 Subject: [PATCH] add new email domain flag and replace cutoff date logic for domains (#2431) --- .../cdk/side-bar/modals/modal-email/modal-email.component.html | 3 +-- src/app/cdk/side-bar/side-bar/side-bar.component.html | 3 +-- src/app/types/record.endpoint.ts | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) 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 {