Skip to content

Commit

Permalink
Merge pull request #4 from CityOfPhiladelphia/main
Browse files Browse the repository at this point in the history
fixes bug with showing focus area section when there is nothing there
  • Loading branch information
ajrothwell authored Jun 24, 2024
2 parents 538928e + bddd3e6 commit fe568f3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/ExpandCollapseContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,22 +181,22 @@
<h3 v-if="this.hasFocusAreas" class="section-heading">

Check warning on line 181 in src/components/ExpandCollapseContent.vue

View workflow job for this annotation

GitHub Actions / build

Unexpected usage of 'this'

Check warning on line 181 in src/components/ExpandCollapseContent.vue

View workflow job for this annotation

GitHub Actions / build

'class' should be on a new line
{{ $t('focusArea.plural') }}
</h3>
<div v-if="this.artsAndCulture && this.artsAndCulture.length">
<div v-if="this.artsAndCulture && this.artsAndCulture.length > 1">

Check warning on line 184 in src/components/ExpandCollapseContent.vue

View workflow job for this annotation

GitHub Actions / build

Unexpected usage of 'this'

Check warning on line 184 in src/components/ExpandCollapseContent.vue

View workflow job for this annotation

GitHub Actions / build

Unexpected usage of 'this'
<b>Arts and Culture:</b>{{ this.artsAndCulture }}

Check warning on line 185 in src/components/ExpandCollapseContent.vue

View workflow job for this annotation

GitHub Actions / build

Unexpected usage of 'this'
</div>
<div v-if="this.health && this.health.length">
<div v-if="this.health && this.health.length > 1">

Check warning on line 187 in src/components/ExpandCollapseContent.vue

View workflow job for this annotation

GitHub Actions / build

Unexpected usage of 'this'

Check warning on line 187 in src/components/ExpandCollapseContent.vue

View workflow job for this annotation

GitHub Actions / build

Unexpected usage of 'this'
<b>Sports, Health and Wellness Activities:</b>{{ this.health }}

Check warning on line 188 in src/components/ExpandCollapseContent.vue

View workflow job for this annotation

GitHub Actions / build

Unexpected usage of 'this'
</div>
<div v-if="this.characterDevelopment && this.characterDevelopment.length">
<div v-if="this.characterDevelopment && this.characterDevelopment.length > 1">
<b>Character Education/Positive Youth Development:</b>{{ this.characterDevelopment }}
</div>
<div v-if="this.communityService && this.communityService.length">
<div v-if="this.communityService && this.communityService.length > 1">
<b>Community Service Learning:</b>{{ this.communityService }}
</div>
<div v-if="this.stem && this.stem.length">
<div v-if="this.stem && this.stem.length > 1">
<b>STEM/STEAM:</b>{{ this.stem }}
</div>
<div v-if="this.collegeCareer && this.collegeCareer.length">
<div v-if="this.collegeCareer && this.collegeCareer.length > 1">
<b>College and Career Readiness:</b>{{ this.collegeCareer }}
</div>

Expand Down

0 comments on commit fe568f3

Please sign in to comment.