From d8aae8df1c70b5f17c17ac394ff604673552bf72 Mon Sep 17 00:00:00 2001 From: Jen Beckett <115109120+jenbeckett@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:45:22 -0700 Subject: [PATCH] Update CurrentFeeVerification.vue fixed the back button on mtfi --- .../mtfi/CurrentFeeVerification.vue | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/frontend/src/components/mtfi/CurrentFeeVerification.vue b/frontend/src/components/mtfi/CurrentFeeVerification.vue index f2fc074ca..09caa0a5f 100644 --- a/frontend/src/components/mtfi/CurrentFeeVerification.vue +++ b/frontend/src/components/mtfi/CurrentFeeVerification.vue @@ -984,18 +984,13 @@ export default { this.$router.push(this.nextPath); } }, - previous() { - console.log('combined dates: '); - console.log(this.chosenDates); - console.log('new dates: '); - console.log(this.CCFRIFacilityModel.dates); - - // if(this.organizationProviderType == 'FAMILY'){ - // this.$router.push(changeUrl(PATHS.MTFI_INFO, this.$route.params.changeRecGuid, CHANGE_TYPES.MTFI )); - // } - // else{ - // this.$router.push(this.previousPath); - // } + previous() { + if(this.organizationProviderType == 'FAMILY'){ + this.$router.push(changeUrl(PATHS.MTFI_INFO, this.$route.params.changeRecGuid, CHANGE_TYPES.MTFI )); + } + else{ + this.$router.push(this.previousPath); + } }, validateForm() {