Commit ef2c3ddf authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch '196251' into 'master'

Change `count` to `size`, to prevent unneeded DB call

Closes #196251

See merge request gitlab-org/gitlab!22844
parents 6ba2ef3a 88183850
......@@ -44,7 +44,7 @@
- @group_notifications.each do |setting|
= render 'group_settings', setting: setting, group: setting.source
%h5
= _('Projects (%{count})') % { count: @project_notifications.count }
= _('Projects (%{count})') % { count: @project_notifications.size }
%p.account-well
= _('To specify the notification level per project of a group you belong to, you need to visit project page and change notification level there.')
.append-bottom-default
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment