Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for missing information on incorp requests #91

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix lint
BrandonSharratt committed Dec 3, 2024

Verified

This commit was signed with the committer’s verified signature.
fiji-flo Florian Dieminger
commit a1a0dfc44735f998a40b915b7b2f296d054b4bed
5 changes: 4 additions & 1 deletion src/stores/businessBootstrap.ts
Original file line number Diff line number Diff line change
@@ -12,7 +12,10 @@ export const useBcrosBusinessBootstrap = defineStore('bcros/businessBootstrap',
const isStoreLoading = ref(false)
const pendingFilings: Ref<PendingItemI[]> = ref([])
const bootstrapIdentifier = computed(() => bootstrapFiling.value?.filing.business.identifier)
const bootstrapLegalType = computed(() => bootstrapFiling.value?.filing.business.legalType || bootstrapFiling.value?.filing?.incorporationApplication?.nameRequest?.legalType)
const bootstrapLegalType = computed(() => {
return bootstrapFiling.value?.filing.business.legalType ||
bootstrapFiling.value?.filing?.incorporationApplication?.nameRequest?.legalType
})
const bootstrapFilingType = computed(() => bootstrapFiling.value?.filing.header.name)
const bootstrapFilingStatus = computed(() => bootstrapFiling.value?.filing.header.status)
const bootstrapNr = computed(() => bootstrapFiling.value?.filing[bootstrapFilingType.value]?.nameRequest)