refactor additionalInfo logic
This commit is contained in:
parent
e85362325e
commit
16170b0c26
1 changed files with 3 additions and 1 deletions
|
|
@ -528,8 +528,10 @@ export const useMainStore = defineStore({
|
||||||
schoolProperty: '',
|
schoolProperty: '',
|
||||||
parkingLot: ''
|
parkingLot: ''
|
||||||
};
|
};
|
||||||
if (endorsementAnswersForPayload.includes(endorsementOptions.EDUCATOR && endorsementOptions.PARKING_GUARD)) {
|
if (endorsementAnswersForPayload.includes(endorsementOptions.EDUCATOR)) {
|
||||||
endorsementsAdditionalInfo.schoolProperty = 'Yes';
|
endorsementsAdditionalInfo.schoolProperty = 'Yes';
|
||||||
|
}
|
||||||
|
if (endorsementAnswersForPayload.includes(endorsementOptions.PARKING_GUARD)) {
|
||||||
endorsementsAdditionalInfo.parkingLot = 'Yes';
|
endorsementsAdditionalInfo.parkingLot = 'Yes';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue