Browse Source

Fixes #4801 - Ticket history links "System" to user ID 1.

Co-authored-by: Florian Liebe <fl@zammad.com>
Rolf Schmidt 1 year ago
parent
commit
7db06746b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/assets/javascripts/app/views/generic/history.jst.eco

+ 1 - 1
app/assets/javascripts/app/views/generic/history.jst.eco

@@ -8,7 +8,7 @@
   <div class="history-row-list">
     <% for source in item.sources: %>
       <% for source_user in source.users: %>
-        <span<% if !source.sourceable_name: %> class="user-popover" data-id="<%= source_user.id %>"<% end %>>
+        <span<% if !source.sourceable_name && source_user.id != 1: %> class="user-popover" data-id="<%= source_user.id %>"<% end %>>
         <% if source.sourceable_name: %>
           <%= @T(source.sourceable_type) %>: <%= @T(source.sourceable_name) %>
         <% else if source_user.id == 1: %>