Skip to content

Commit

Permalink
set showEclipsePredictionTextBanner properly
Browse files Browse the repository at this point in the history
  • Loading branch information
johnarban committed Apr 3, 2024
1 parent 0a89520 commit afb482e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SolarEclipse2024.vue
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
id="map-container" :data-before-text="eclipsePredictionText">

<div
v-if="learnerPath === 'Location' && showEclipsePredictionTextBanner && !mobile"
v-if="learnerPath === 'Location' && showEclipsePredictionTextBanner && !mobile && !showNewMobileUI"
id="map-banner"
class="show-after"
>
Expand Down Expand Up @@ -819,7 +819,7 @@
}"
/>

<div v-show="!showGuidedContent && showEclipsePredictionTextBanner" class="user-banner">
<div v-show="!showGuidedContent && showEclipsePredictionTextBanner && !showNewMobileUI" class="user-banner">
<span class="banner-text" v-if="showEclipsePredictionText">
{{ eclipsePredictionText }}
</span>
Expand Down

0 comments on commit afb482e

Please sign in to comment.