From 28b6524ac56e7466032165e9d96a899ce758c8db Mon Sep 17 00:00:00 2001 From: Katie Date: Tue, 30 Aug 2022 14:14:25 -0400 Subject: [PATCH] CSR-807 Edit arePagePrerequisitesValid for estimate --- src/layouts/estimate/estimate.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/layouts/estimate/estimate.vue b/src/layouts/estimate/estimate.vue index 26649942a..aae192291 100644 --- a/src/layouts/estimate/estimate.vue +++ b/src/layouts/estimate/estimate.vue @@ -80,10 +80,7 @@ export default { }, methods: { arePagePrerequisitesValid() { - if(store.getters.damage.isRepair != null){ - return true; - } - return false; + return store.getters.damage.isRepair || store.getters.damage.glassToReplace?.length > 0; }, backButtonAction() { // route to move backwards