mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 08:44:48 +08:00
FIX: show today's date on /top page period chooser
This commit is contained in:
@ -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}}
|
||||
|
Reference in New Issue
Block a user