Skip to content

Commit

Permalink
Having function instead of computed was returning true always. (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
hfekete authored Jul 23, 2024
1 parent c9739fa commit 70ebfe3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/bcros/filing/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<div v-if="isTemporaryRegistration" data-cy="tempRegistration-filing-history-empty">
{{ $t('text.filing.completeYourFilingToDisplay') }}
</div>
<div v-else-if="isBusiness" data-cy="business">
<div v-else-if="isBusiness" data-cy="business-filing-history-empty">
<div>
<strong>{{ $t('text.filing.youHaveNoFilingHistory-filing-history-empty') }}</strong>
<strong>{{ $t('text.filing.youHaveNoFilingHistory') }}</strong>
</div>
<div> {{ $t('text.filing.yourFilingsWillAppearHere') }}</div>
</div>
Expand Down Expand Up @@ -53,7 +53,7 @@ defineProps({
const isBusiness = computed(() => useBcrosBusiness().currentBusiness?.identifier)
const isTemporaryRegistration = () => !!sessionStorage.getItem('TEMP_REG_NUMBER')
const isTemporaryRegistration = !!sessionStorage.getItem('TEMP_REG_NUMBER')
/** Returns the name of the sub-component to use for the specified filing. */
const filingComponent = (filing: ApiResponseFilingI): Component => {
Expand Down

0 comments on commit 70ebfe3

Please sign in to comment.