Skip to content

Commit f6df0d9

Browse files
jonathanwelch1-nhsconnoravo-nhsCopilot
authored
Fix: [AEA-5884] - Part 2: Fix disabling button on press & prevent cross firing (#1884)
## Summary - Routine Change ### Details Fix disabling button on press & prevent cross firing Disable logout button on user initiated logout modal after it's been clicked --------- Signed-off-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com> Co-authored-by: Connor Avery <connor.avery2@nhs.net> Co-authored-by: Connor Avery <214469360+connoravo-nhs@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 728584f commit f6df0d9

27 files changed

+1554
-654
lines changed

packages/common/commonTypes/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,5 @@ export type {
3838

3939
export {Headers} from "./headers"
4040
export type {ApigeeConfig} from "./headers"
41+
42+
export type {SessionTimeoutModal} from "./sessionTimeoutModalState"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export type SessionTimeoutModal = {
2+
showModal: boolean
3+
timeLeft: number
4+
buttonDisabled: boolean
5+
action: "extending" | "loggingOut" | undefined
6+
}

0 commit comments

Comments
 (0)