small tweaks
This commit is contained in:
parent
ac2f3f3c4b
commit
f43ac712ff
2 changed files with 2 additions and 2 deletions
|
|
@ -310,7 +310,7 @@ export default {
|
||||||
return this.mainStore.issConfig.isCoverageEnabled;
|
return this.mainStore.issConfig.isCoverageEnabled;
|
||||||
},
|
},
|
||||||
isCoverageLookupRestricted() {
|
isCoverageLookupRestricted() {
|
||||||
return this.mainStore.applicationUser.coverageAttempts >= 11;
|
return this.mainStore.applicationUser.coverageAttempts >= 10;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
|
|
@ -439,7 +439,7 @@ export const useMainStore = defineStore({
|
||||||
const { order } = this;
|
const { order } = this;
|
||||||
const { policy } = order;
|
const { policy } = order;
|
||||||
this.applicationUser.coverageAttempts += 1;
|
this.applicationUser.coverageAttempts += 1;
|
||||||
console.log(this.applicationUser.coverageAttempts);
|
console.log(`Coverage attempt #${this.applicationUser.coverageAttempts}. Max attempts allowed: 10.`);
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
globalMethods.callHttpClient({
|
globalMethods.callHttpClient({
|
||||||
method: endpoints.CoveragePolicyInfo.method,
|
method: endpoints.CoveragePolicyInfo.method,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue