FIX: show today's date on /top page period chooser

This commit is contained in:
Arpit Jalan 2020-04-02 20:35:35 +05:30
parent ca1208a636
commit ef7753953d
2 changed files with 2 additions and 2 deletions
app/assets/javascripts/discourse/templates
discovery
mobile/discovery

@ -39,7 +39,7 @@
{{#discovery-topics-list model=model refresh=(action "refresh") incomingCount=topicTrackingState.incomingCount as |discoveryTopicList|}}
{{#if top}}
<div class='top-lists'>
{{period-chooser period=period action=(action "changePeriod")}}
{{period-chooser period=period action=(action "changePeriod") fullDay=false}}
</div>
{{else}}
{{#if topicTrackingState.hasIncoming}}

@ -1,7 +1,7 @@
{{#discovery-topics-list model=model refresh=(action "refresh") incomingCount=topicTrackingState.incomingCount as |discoveryTopicList|}}
{{#if top}}
<div class='top-lists'>
{{period-chooser period=period action=(action "changePeriod")}}
{{period-chooser period=period action=(action "changePeriod") fullDay=false}}
</div>
{{else}}
{{#if topicTrackingState.hasIncoming}}