Skip to content

Commit

Permalink
fix: Only show schedule and calendar on public page when published (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
maze-runnar authored Sep 4, 2020
1 parent af9a006 commit f59c383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/components/public/side-menu.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
</LinkTo>
{{/if}}
{{/if}}
{{#if this.showSessions}}
{{#if (and this.showSessions this.isSchedulePublished)}}
<LinkTo @route="public.sessions" class="item">
{{t 'Schedule'}}
</LinkTo>
{{/if}}
{{#if this.isSchedulePublished}}
{{#if (and this.showSessions this.isSchedulePublished)}}
<LinkTo @route="public.schedule" class="item">
{{t 'Calendar'}}
</LinkTo>
Expand Down

1 comment on commit f59c383

@vercel
Copy link

@vercel vercel bot commented on f59c383 Sep 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.