From af02cb3d5711b10cdd133901b7836af2421f1b7f Mon Sep 17 00:00:00 2001 From: Johnny shultz Date: Mon, 17 Mar 2025 11:38:44 -0400 Subject: [PATCH] CASH-185 CASH-185 fixed issue for value not being persisted upon user navigation --- src/layouts/schedule/schedule.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/layouts/schedule/schedule.vue b/src/layouts/schedule/schedule.vue index 925683073..65ce54a87 100644 --- a/src/layouts/schedule/schedule.vue +++ b/src/layouts/schedule/schedule.vue @@ -512,11 +512,13 @@ export default { false ); - this.dispatchStoreAction( - this.storeActions.SAVE_WAITLIST_REQUESTED, - this.waitListRequested, - false - ); + if(this.waitListRequested !== null && this.waitListRequested !== undefined) { + this.dispatchStoreAction( + this.storeActions.SAVE_WAITLIST_REQUESTED, + this.waitListRequested, + false + ); + } this.$router.navigateWithSaving(this.navigationScenarios.CLICKED_FORWARD, this.$route); },