Merge pull request #1682 from Safelite/CSR-1910-fix-subtotal-background-color

CSR-1910 fix background color of subtotal row.
This commit is contained in:
bmauger 2024-01-09 15:44:10 -05:00 committed by GitHub
commit 99305e07b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -834,7 +834,7 @@ export default {
display: flex;
justify-content: space-between;
padding: 0.5rem 1.5rem;
&:nth-last-child(-n + 3) {
&:nth-last-child(-n + 4) {
background-color: $green-100;
}
&:last-child {

View file

@ -145,6 +145,8 @@ export default {
computed: {
ShowCart() {
if (this.isPia && store.getters.submittedOrder.settledTenderAmount == 0) {
// settleTenderAmount always shows 0 via localhost or dev.
// Temporarily set return true to see cart in localhost or dev environment
return false;
}