From 4abb36be46711923c162860bacc25752953c3671 Mon Sep 17 00:00:00 2001 From: Okke Harsta Date: Mon, 3 Feb 2025 15:42:32 +0100 Subject: [PATCH] Refresh Code Control info #587 --- myconext-gui/src/routes/PersonalInfo.svelte | 9 ++++++++- servicedesk-gui/src/icons/calendar-alt.svg | 2 +- servicedesk-gui/src/tabs/Control.scss | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/myconext-gui/src/routes/PersonalInfo.svelte b/myconext-gui/src/routes/PersonalInfo.svelte index e73ce632..f1a2ce35 100644 --- a/myconext-gui/src/routes/PersonalInfo.svelte +++ b/myconext-gui/src/routes/PersonalInfo.svelte @@ -269,6 +269,13 @@ copyServerInformation(res); showControlCode = !isEmpty(res.controlCode); }); + } + + const cancelVerifyChoice = () => { + me().then(res => { + copyServerInformation(res); + resetModalsAndQueryParams(); + }); } @@ -677,7 +684,7 @@ showIdinOptions={showIdinOptions} showServiceDesk={serviceDeskStart} showControlCode={showControlCode} - cancel={() => resetModalsAndQueryParams()}/> + cancel={() => cancelVerifyChoice()}/> {/if} diff --git a/servicedesk-gui/src/icons/calendar-alt.svg b/servicedesk-gui/src/icons/calendar-alt.svg index b902da96..c4b75413 100644 --- a/servicedesk-gui/src/icons/calendar-alt.svg +++ b/servicedesk-gui/src/icons/calendar-alt.svg @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/servicedesk-gui/src/tabs/Control.scss b/servicedesk-gui/src/tabs/Control.scss index 84654512..c5bdc742 100644 --- a/servicedesk-gui/src/tabs/Control.scss +++ b/servicedesk-gui/src/tabs/Control.scss @@ -110,6 +110,7 @@ div.control { padding-left: 20px; cursor: pointer; z-index: 2; + color: var(--sds--palette--main-color--400); svg { width: 32px;