mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +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|}}
|
{{#discovery-topics-list model=model refresh=(action "refresh") incomingCount=topicTrackingState.incomingCount as |discoveryTopicList|}}
|
||||||
{{#if top}}
|
{{#if top}}
|
||||||
<div class='top-lists'>
|
<div class='top-lists'>
|
||||||
{{period-chooser period=period action=(action "changePeriod")}}
|
{{period-chooser period=period action=(action "changePeriod") fullDay=false}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if topicTrackingState.hasIncoming}}
|
{{#if topicTrackingState.hasIncoming}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{{#discovery-topics-list model=model refresh=(action "refresh") incomingCount=topicTrackingState.incomingCount as |discoveryTopicList|}}
|
{{#discovery-topics-list model=model refresh=(action "refresh") incomingCount=topicTrackingState.incomingCount as |discoveryTopicList|}}
|
||||||
{{#if top}}
|
{{#if top}}
|
||||||
<div class='top-lists'>
|
<div class='top-lists'>
|
||||||
{{period-chooser period=period action=(action "changePeriod")}}
|
{{period-chooser period=period action=(action "changePeriod") fullDay=false}}
|
||||||
</div>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if topicTrackingState.hasIncoming}}
|
{{#if topicTrackingState.hasIncoming}}
|
||||||
|
Reference in New Issue
Block a user