Skip to content

Commit

Permalink
fix: replace goodStanding with goodStandingInd
Browse files Browse the repository at this point in the history
  • Loading branch information
fterra-encora committed Dec 6, 2023
1 parent 9946853 commit f57a5f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/src/dto/CommonTypesDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export interface SubmissionDetailsBusiness {
clientNumber: string
organizationName: string
clientType: string
goodStanding: string
goodStandingInd: string
}

export interface SubmissionDetailsContact {
Expand Down
5 changes: 2 additions & 3 deletions frontend/src/pages/SubmissionReviewPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const data = ref<SubmissionDetails>({
clientNumber: '',
organizationName: '',
clientType: '',
goodStanding: '',
goodStandingInd: '',
},
contact: [{index:0, firstName:'', lastName:'', contactType:'', phoneNumber:'', emailAddress:'', locations:[],userId:''}],
address: [],
Expand All @@ -73,7 +73,6 @@ const rejectReasonMessage = ref('')
// Data loading
useFetchTo(`/api/clients/submissions/${id.value}`, data)
const showClientNumberField = computed(() => {
if(selectedRejectReasons.value && selectedRejectReasons.value.length > 0){
return selectedRejectReasons
Expand Down Expand Up @@ -311,7 +310,7 @@ const tagColor = (status: string) =>{
</read-only-component>

<read-only-component label="B.C. Registries standing">
<span class="body-compact-01">{{ goodStanding(data.business.goodStanding) }}</span>
<span class="body-compact-01">{{ goodStanding(data.business.goodStandingInd) }}</span>
</read-only-component>

<read-only-component label="Last updated">
Expand Down

0 comments on commit f57a5f4

Please sign in to comment.