Merge pull request #2079 from Safelite/BRM-modal-footer-fix

BRM modal footer fix
This commit is contained in:
bmauger 2024-11-07 08:28:03 -05:00 committed by GitHub
commit 09d0a7ea62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -156,6 +156,7 @@ export default {
width: 100%;
bottom: 0;
z-index: 5;
background-color: $white;
}
&.modal-component {
.modal-dialog {

View file

@ -596,7 +596,7 @@ export default {
});
}
let price = 0;
if (tier.value == "TierTwo" && this.isServicePackageDiscountOnOrder) {
if (tier.additionalButtonData?.servicePackageDiscount && this.isServicePackageDiscountOnOrder) {
lineItemsToPrice.push(...this.servicePackageDiscountParts);
}
price += baseMixin.methods.getTierOnePackagePrice(