Skip to content

Commit

Permalink
Update src/script/E2EIdentity/Modals/Modals.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Belin <[email protected]>
  • Loading branch information
arjita-mitra and atomrc authored Jan 18, 2024
1 parent 8363051 commit f2ec936
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/script/E2EIdentity/Modals/Modals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@ interface GetModalOptions {
hideSecondary?: boolean;
hidePrimary?: boolean;
hideClose?: boolean;
extraParams?: {delayTime?: string; isRenewal?: boolean; isGracePeriodOver?: boolean};
extraParams?: {
/** time left to remind the user again (only for enroll and renewal modal types). */
delayTime?: string;

Check failure on line 59 in src/script/E2EIdentity/Modals/Modals.ts

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed

Check failure on line 59 in src/script/E2EIdentity/Modals/Modals.ts

View workflow job for this annotation

GitHub Actions / test

Delete `·`

Check failure on line 60 in src/script/E2EIdentity/Modals/Modals.ts

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed

Check failure on line 60 in src/script/E2EIdentity/Modals/Modals.ts

View workflow job for this annotation

GitHub Actions / test

Delete `····`
/** Flag indicating if this is a renewal action */
isRenewal?: boolean;

Check failure on line 62 in src/script/E2EIdentity/Modals/Modals.ts

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed

Check failure on line 62 in src/script/E2EIdentity/Modals/Modals.ts

View workflow job for this annotation

GitHub Actions / test

Delete `·`

Check failure on line 63 in src/script/E2EIdentity/Modals/Modals.ts

View workflow job for this annotation

GitHub Actions / test

Trailing spaces not allowed

Check failure on line 63 in src/script/E2EIdentity/Modals/Modals.ts

View workflow job for this annotation

GitHub Actions / test

Delete `····`
/** Flag indicating if the grace period is over (only for enroll, renew or error modals) */
isGracePeriodOver?: boolean};

Check failure on line 65 in src/script/E2EIdentity/Modals/Modals.ts

View workflow job for this annotation

GitHub Actions / test

Insert `;⏎··`
}
export const getModalOptions = ({
type,
Expand Down

0 comments on commit f2ec936

Please sign in to comment.