Show empty copy when no notifications at all

This commit is contained in:
Lim Chee Aun 2024-04-11 17:13:34 +08:00
parent 8b5fee3dfd
commit 5083463942

View file

@ -608,7 +608,7 @@ function Notifications({ columnMode }) {
</label> </label>
</div> </div>
<h2 class="timeline-header">Today</h2> <h2 class="timeline-header">Today</h2>
{showTodayEmpty && !!snapStates.notifications.length && ( {showTodayEmpty && (
<p class="ui-state insignificant"> <p class="ui-state insignificant">
{uiState === 'default' ? "You're all caught up." : <>&hellip;</>} {uiState === 'default' ? "You're all caught up." : <>&hellip;</>}
</p> </p>