From e1f65c7b6147e7b3d076dfa0690d350dbc5a471a Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Thu, 2 May 2024 14:23:18 -0400 Subject: [PATCH] collab with Michaela on loader flashing --- src/mixins/base-form-mixin.js | 5 +++++ src/router/index.js | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mixins/base-form-mixin.js b/src/mixins/base-form-mixin.js index 9efb994c..f292c0ba 100644 --- a/src/mixins/base-form-mixin.js +++ b/src/mixins/base-form-mixin.js @@ -1,4 +1,9 @@ +import showIssLoadingModal from '@/helpers/loading-modal-helper'; + export default { + mounted() { + showIssLoadingModal(false); + }, methods: { onSubmit() { /** diff --git a/src/router/index.js b/src/router/index.js index da2e85b0..96a905b9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -170,8 +170,6 @@ router.afterEach(async (to, from) => { store.clearSaveSessionPromise(); } - showIssLoadingModal(false); - const saveSessionSynchronous = !!from.params[routerParams.SAVE_SESSION_SYNCHRONOUS]; await saveSession({ shouldAwaitSaveSessionQueue: saveSessionSynchronous }).catch((error) => { if (from.name === issPageValues.WELCOME_PAGE) {