Skip to content

Commit

Permalink
Merge pull request #277 from GSA/mmeyer/234-truncate-message
Browse files Browse the repository at this point in the history
simplify langauage of exit notification
  • Loading branch information
mark-meyer authored Aug 10, 2023
2 parents 8350e5f + 3d8e3ad commit 444c593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion training-front-end/src/components/SessionManager.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
const exit_redirect = () => {
setMessage(
'You have successfully exited your session. You can start a new session to take another training or to access your certificates.',
'You have successfully exited.',
'success'
)
window.location.replace(`${import.meta.env.BASE_URL}exit`)
Expand Down
2 changes: 1 addition & 1 deletion training-front-end/src/stores/session_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function exit() {
// without an additional warning
window.removeEventListener('beforeunload', exit_warning)
setMessage(
'You have successfully exited your session. You can start a new session to take another training or to access your certificates.',
'You have successfully exited.',
'success'
)
window.location.replace(`${import.meta.env.BASE_URL}exit`)
Expand Down

0 comments on commit 444c593

Please sign in to comment.