displayed date on dupecheck
couple lines of auto formatting
This commit is contained in:
parent
52b1bb3a28
commit
c32fd15d7e
1 changed files with 4 additions and 5 deletions
|
|
@ -116,7 +116,7 @@ export default {
|
||||||
const vehicle = !!o.vehicleYear && !!o.vehicleMake && !!o.vehicleModel
|
const vehicle = !!o.vehicleYear && !!o.vehicleMake && !!o.vehicleModel
|
||||||
? `${o.vehicleYear} ${o.vehicleMake} ${o.vehicleModel}`
|
? `${o.vehicleYear} ${o.vehicleMake} ${o.vehicleModel}`
|
||||||
: null;
|
: null;
|
||||||
const dateOfLoss = formatDate(new Date(useMainStore().order.policy.dateOfLoss), dupeCheckDateFormatter);
|
const dateOfLoss = formatDate(new Date(o.referralDate), dupeCheckDateFormatter);
|
||||||
const subtext = vehicle
|
const subtext = vehicle
|
||||||
? `${vehicle}, ${dateOfLoss}`
|
? `${vehicle}, ${dateOfLoss}`
|
||||||
: (vehicle ?? '').concat(dateOfLoss);
|
: (vehicle ?? '').concat(dateOfLoss);
|
||||||
|
|
@ -188,7 +188,6 @@ export default {
|
||||||
// GetCoveragePolicyInfo handles exception / error internally. We do not care if it fails, user continues in unverified path.
|
// GetCoveragePolicyInfo handles exception / error internally. We do not care if it fails, user continues in unverified path.
|
||||||
await this.mainStore.getCoveragePolicyInfo();
|
await this.mainStore.getCoveragePolicyInfo();
|
||||||
|
|
||||||
|
|
||||||
this.pushEventToGA("policy_search", "policy_found", this.mainStore.isPolicyLookupSuccessful ? "Yes" : "No", true);
|
this.pushEventToGA("policy_search", "policy_found", this.mainStore.isPolicyLookupSuccessful ? "Yes" : "No", true);
|
||||||
|
|
||||||
if (this.mainStore.isPolicyLookupSuccessful) {
|
if (this.mainStore.isPolicyLookupSuccessful) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue