mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
FEATURE: Always show full page "New Features" to admins (#28383)
We used to show New Features in a tab on the dashboard,
but this could get pushed down the page especially on
our hosting. In 043117ca13
we made a separate What's New page, so this commit removes
the dashboard tab and changes the admin notification to
send the admin to /admin/whats-new instead of the dashboard
tab.
This commit is contained in:
@ -7,7 +7,6 @@ class Admin::DashboardController < Admin::StaffController
|
||||
if SiteSetting.version_checks?
|
||||
data.merge!(version_check: DiscourseUpdates.check_version.as_json)
|
||||
end
|
||||
data.merge!(has_unseen_features: DiscourseUpdates.has_unseen_features?(current_user.id))
|
||||
|
||||
render json: data
|
||||
end
|
||||
|
Reference in New Issue
Block a user