Skip to content

Commit

Permalink
Merge pull request #532 from oakdbca/main
Browse files Browse the repository at this point in the history
Dev Ops task 7176: OCR - Referred to me Bug
  • Loading branch information
xzzy authored Nov 5, 2024
2 parents 59ebef2 + 4804335 commit 283ce8d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
:group_type_name="group_name" :group_type_id="getGroupId" :url="species_ocr_url"
:profile="profile" />
</FormSection>
<FormSection :formCollapse="false" label="Occurrence Report - Flora Referred to Me"
<FormSection v-if="profile && profile.ocr_referral_count > 0" :formCollapse="false" label="Occurrence Report - Flora Referred to Me"
Index="occurrence-report-flora-referred-to-me">
<OccurrenceReportReferredToMeDashTable v-if="isFlora" ref="flora_referrals_table" level="internal"
:group_type_name="group_name" :group_type_id="getGroupId" :url="species_ocr_referrals_url"
Expand All @@ -52,7 +52,7 @@
:group_type_name="group_name" :group_type_id="getGroupId" :url="species_ocr_url"
:profile="profile" />
</FormSection>
<FormSection :formCollapse="false" label="Occurrence Report - Fauna Referred to Me"
<FormSection v-if="profile && profile.ocr_referral_count > 0" :formCollapse="false" label="Occurrence Report - Fauna Referred to Me"
Index="occurrence-report-fauna-referred-to-me">
<OccurrenceReportReferredToMeDashTable v-if="isFauna" ref="fauna_referrals_table" level="internal"
:group_type_name="group_name" :group_type_id="getGroupId" :url="species_ocr_referrals_url"
Expand All @@ -75,7 +75,7 @@
:group_type_name="group_name" :group_type_id="getGroupId" :url="community_ocr_url"
:profile="profile" />
</FormSection>
<FormSection :formCollapse="false" label="Occurrence Report - Community Referred to Me"
<FormSection v-if="profile && profile.ocr_referral_count > 0" :formCollapse="false" label="Occurrence Report - Community Referred to Me"
Index="occurrence-report-community-referred-to-me">
<OccurrenceReportReferredToMeDashTable v-if="isCommunity" ref="community_referrals_table"
level="internal" :group_type_name="group_name" :group_type_id="getGroupId"
Expand Down

0 comments on commit 283ce8d

Please sign in to comment.