Skip to content

Commit

Permalink
couple more small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jenbeckett committed Dec 2, 2024
1 parent fe6fd4b commit 4fcab99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,13 @@
<v-radio
class="pt-2 pr-8"
label="Community Social Services Employers' Association (CSSEA) Member"
:value="100000000"
:value="ECEWE_SECTOR_TYPES.CSSEA"
@click="model.confirmation = null"
/>
<v-radio
class="pt-1"
label="Other Unionized Employer"
:value="100000001"
:value="ECEWE_SECTOR_TYPES.OTHER_UNION"
@click="model.confirmation = null"
/>
</div>
Expand Down
9 changes: 1 addition & 8 deletions frontend/src/store/summaryDeclaration.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,7 @@ export const useSummaryDeclarationStore = defineStore('summaryDeclaration', {
)
: false;
},
isECEWEComplete: (state) => {
//TODO - update logic for facility level and union question
return state.summaryModel?.application?.isEceweComplete && state.summaryModel?.facilities?.length > 0
? state.summaryModel?.facilities.every(
(facility) => facility.ecewe?.optInOrOut === 1 || facility.ecewe?.optInOrOut === 0,
)
: false;
},

isFacilityComplete: (state) => {
return state.summaryModel?.facilities?.length > 0
? state.summaryModel?.facilities.every((facility) => facility.facilityInfo?.isFacilityComplete == true)
Expand Down

0 comments on commit 4fcab99

Please sign in to comment.