return false from computeds

This commit is contained in:
Katie Kroell 2023-10-13 15:06:29 -04:00
parent eca335e033
commit bcbad4725a

View file

@ -120,10 +120,10 @@ export default {
return this.getCmsContent('ParkingLotQuestion', 'Answers'); return this.getCmsContent('ParkingLotQuestion', 'Answers');
}, },
educatorEndorsement() { educatorEndorsement() {
return useMainStore().order.policy.endorsements?.includes('Educator'); return useMainStore().order.policy.endorsements?.includes('Educator') ?? false;
}, },
parkingGuardEndorsement() { parkingGuardEndorsement() {
return useMainStore().order.policy.endorsements?.includes('Parking Guard'); return useMainStore().order.policy.endorsements?.includes('Parking Guard') ?? false;
} }
}, },
methods: methods: