diff --git a/src/store/index.js b/src/store/index.js index 5698cb2a6..04c26fd90 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1840,7 +1840,7 @@ export const actions = { }, saveGlassParts(context, parts) { - if (!deepEqual(parts, context.store.order.lineItems.glassParts)) { + if (!deepEqual(parts, context.getters.order.lineItems.glassParts)) { context.commit(storeMutations.RESET_SERVICE_LOCATION_APPOINTMENT_TYPE); context.commit(storeMutations.RESET_SERVICE_LOCATION_PROVIDER); }