Skip to content

Commit

Permalink
Removed show all times after it is clicked (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
mreed101 authored Oct 8, 2024
1 parent 143169c commit 2217160
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/templates/layouts/event/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,14 @@ export const Event = ({

{formattedDates.length > 5 && (
<div className="vads-u-display--flex vads-u-flex-direction--row vads-u-justify-content--flex-end vads-u-width--full medium-screen:vads-u-width--auto">
<va-button
id="show-all-recurring-events"
secondary
text="Show all times"
onClick={handleAllEventsToggle}
/>
{!showAllEvents && (
<va-button
id="show-all-recurring-events"
secondary
text="Show all times"
onClick={handleAllEventsToggle}
/>
)}
</div>
)}
</va-accordion-item>
Expand Down

0 comments on commit 2217160

Please sign in to comment.