Merge branch 'develop' into feature/CSR-347

This commit is contained in:
Adam Caouette 2022-05-11 13:10:57 -04:00
commit 97bde06c7a
6 changed files with 15 additions and 4 deletions

View file

@ -30,6 +30,7 @@ resources:
variables: variables:
- group: Digital-Infrastructure - group: Digital-Infrastructure
- group: FixMyGlass-BuildBranches
stages: stages:
# PR's # PR's
@ -47,6 +48,7 @@ stages:
# Dev Build/Deploy # Dev Build/Deploy
- ${{ else }}: - ${{ else }}:
- stage: Dev - stage: Dev
condition: eq(variables['Build.SourceBranch'], variables['dev-branch'] )
variables: variables:
- group: FixMyGlassDev - group: FixMyGlassDev
jobs: jobs:
@ -88,6 +90,7 @@ stages:
# QA Build/Deploy # QA Build/Deploy
- stage: Qa - stage: Qa
condition: eq(variables['Build.SourceBranch'], variables['qa-branch'] )
variables: variables:
- group: FixMyGlassQa - group: FixMyGlassQa
jobs: jobs:

View file

@ -10,7 +10,7 @@
Please wait... Please wait...
</div> </div>
<div class="text-center fs-5 loading-modal-text"> <div class="text-center fs-5 loading-modal-text">
This process can take up 20 seconds. This process can take up to 20 seconds.
</div> </div>
</section> </section>
</div> </div>

View file

@ -265,14 +265,20 @@ export default {
}, },
navigateForward(carEntered, carsFound) { navigateForward(carEntered, carsFound) {
if (carsFound.length == 1) { if (carsFound.length == 1) {
// if a different vehicle is found than the one entered and the selected glass
// is not available for that vehicle
if (this.isCarIdDifferent && !this.isSelectedGlassAvailableForVehicle) { if (this.isCarIdDifferent && !this.isSelectedGlassAvailableForVehicle) {
this.$router.navigateAfterSave( this.$router.navigateAfterSave(
// then navigate back to "vehicle-damage", and display vehicle changed alert
// on that page
this.navigationScenarios.CONTINUING_WITH_DIFFERENT_GLASS, this.navigationScenarios.CONTINUING_WITH_DIFFERENT_GLASS,
this.$route, {}, { this.$route, {}, {
displayVehicleChangeAlert: true displayVehicleChangeAlert: true
}, {} }, {}
); );
} else { } else {
// otherwise
this.$refs.loadingModal.showModal();
navigateAfterSaveToHeritageFunnel(this.$route); navigateAfterSaveToHeritageFunnel(this.$route);
} }
} else if (carsFound.length > 1) { } else if (carsFound.length > 1) {

View file

@ -115,14 +115,17 @@ html {
color: $red; color: $red;
font-size: .875rem; font-size: .875rem;
font-weight: 500; font-weight: 500;
height: 1.5rem;
margin-top: .25rem !important;
} }
.form-test-invalid { .form-test-invalid {
&.btn.btn-primary { &.btn.btn-primary {
color: $gray; color: $gray-600;
background: $gray-200; background: $gray-200;
cursor: pointer; cursor: pointer;
pointer-events: all; pointer-events: all;
font-weight: $font-weight-normal;
} }
&.btn.btn-primary:hover, &.btn.btn-primary:hover,
&.btn.btn-primary:focus, &.btn.btn-primary:focus,

View file

@ -130,7 +130,7 @@ export default {
} }
& p { & p {
font-size: 14px; font-size: 14px;
margin-bottom: 0px; margin-bottom: 0.25rem !important;
} }
} }
</style> </style>

View file

@ -44,7 +44,6 @@ a {
&.navigation-link { &.navigation-link {
color: $black; color: $black;
line-height: 26px; line-height: 26px;
text-transform: capitalize;
white-space: nowrap; white-space: nowrap;
} }
&.footer-link { &.footer-link {