Merge pull request #9476 from maxcleme/9469-fix-flickering-prompt
fix: prevent flickering prompt when pulling same image from N services
Guillaume Lours authored 2 years ago
GitHub committed 2 years ago
82 | 82 | last.Status = e.Status |
83 | 83 | last.Text = e.Text |
84 | 84 | last.StatusText = e.StatusText |
85 | last.ParentID = e.ParentID | |
85 | // allow set/unset of parent, but not swapping otherwise prompt is flickering | |
86 | if last.ParentID == "" || e.ParentID == "" { | |
87 | last.ParentID = e.ParentID | |
88 | } | |
86 | 89 | w.events[e.ID] = last |
87 | 90 | } else { |
88 | 91 | e.startTime = time.Now() |