Fix flickering of system notes
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/32087 Easy reproduction: 1. Edit an issue title 1. Notice the system note added 1. Switch to another tab and back (to fire the polling immediately) 1. Notice the flicker (without this fix)
This commit is contained in:
parent
1ccf101eef
commit
08edfb67b1
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@
|
|||
- if note.system
|
||||
%span.system-note-message
|
||||
= note.redacted_note_html
|
||||
.original-note-content.hidden
|
||||
= note.note
|
||||
%a{ href: "##{dom_id(note)}" }
|
||||
= time_ago_with_tooltip(note.created_at, placement: 'bottom', html_class: 'note-created-ago')
|
||||
- unless note.system?
|
||||
|
|
Loading…
Reference in a new issue