diff --git a/lib/philomena_web/views/source_change_view.ex b/lib/philomena_web/views/source_change_view.ex index 48d658d7..46978d42 100644 --- a/lib/philomena_web/views/source_change_view.ex +++ b/lib/philomena_web/views/source_change_view.ex @@ -4,7 +4,7 @@ defmodule PhilomenaWeb.SourceChangeView do def staff?(source_change), do: not is_nil(source_change.user) and not Philomena.Attribution.anonymous?(source_change) and - source_change.user.role != "user" + source_change.user.role != "user" and not source_change.user.hide_default_role def user_column_class(source_change) do case staff?(source_change) do diff --git a/lib/philomena_web/views/tag_change_view.ex b/lib/philomena_web/views/tag_change_view.ex index 07d99e16..e821ca93 100644 --- a/lib/philomena_web/views/tag_change_view.ex +++ b/lib/philomena_web/views/tag_change_view.ex @@ -4,7 +4,7 @@ defmodule PhilomenaWeb.TagChangeView do def staff?(tag_change), do: not is_nil(tag_change.user) and not Philomena.Attribution.anonymous?(tag_change) and - tag_change.user.role != "user" + tag_change.user.role != "user" and not tag_change.user.hide_default_role def user_column_class(tag_change) do case staff?(tag_change) do