diff --git a/app/views/user_notifications/digest.html.erb b/app/views/user_notifications/digest.html.erb index 465fd6fd53a..0323f69e2e9 100644 --- a/app/views/user_notifications/digest.html.erb +++ b/app/views/user_notifications/digest.html.erb @@ -36,7 +36,9 @@ <%= t('user_notifications.digest.posts', count: t.posts_count) %> - <%- if t.category && !t.category.uncategorized? %><%= t.category.name %><%- end %> + <%- if t.category && !t.category.uncategorized? %> + <%- if t.category.parent_category %> <%- end %><%= t.category.name %> + <%- end %> <%- end -%>