helper_method :user_notifications
def user_notifications
- return [] if @errors or not current_user.andand.is_active
+ return [] if @errors or not current_user.andand.is_active or not Rails.configuration.show_user_notifications_in_dashboard
@notifications ||= @@notification_tests.map do |t|
t.call(self, current_user)
end.compact
running_job_log_records_to_fetch: 2000
# In systems with many shared projects, dashboard loading can be
- # slow due to collections indexing; the recent collections panel
- # can be hidden by setting this configuration parameter to false
+ # slow due to collections indexing; use the following parameters
+ # to suppress certain properties from dashboard
show_recent_collections_in_dashboard: true
+ show_user_notifications_in_dashboard: true