mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:41:17 +08:00
UX: Return more notifications in the user menu
This commit is contained in:
@ -7,7 +7,7 @@ class NotificationsController < ApplicationController
|
|||||||
def index
|
def index
|
||||||
user = current_user
|
user = current_user
|
||||||
if params[:recent].present?
|
if params[:recent].present?
|
||||||
notifications = Notification.recent_report(current_user, 10)
|
notifications = Notification.recent_report(current_user, 15)
|
||||||
|
|
||||||
if notifications.present?
|
if notifications.present?
|
||||||
# ordering can be off due to PMs
|
# ordering can be off due to PMs
|
||||||
|
Reference in New Issue
Block a user