Merge pull request #745 from Safelite/feature/CSR-836

Feature/csr 836
This commit is contained in:
Leah Schumann 2022-09-16 11:36:21 -04:00 committed by GitHub
commit 6df20100a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 9 deletions

View file

@ -75,10 +75,7 @@ export default {
},
methods: {
arePagePrerequisitesValid() {
if (store.getters.order.damage.isRepair || store.getters.order.lineItems.glassParts.length > 0) {
return true;
}
return false;
return store.getters.order.damage.isRepair || (store.getters.order.lineItems?.glassParts != null && store.getters.order.lineItems.glassParts.length > 0);
}
},
computed: {

View file

@ -25,11 +25,6 @@ import { applicationConfig } from "../constants/application-config";
import quote from "@/layouts/quote/quote.vue";
const routes = [
{
path: "/quote", // This is a temporary route for testing.
name: "quote",
component: quote,
},
{
path: "/",
name: "root",