Skip to content

Commit 2628e7a

Browse files
committed
refactor(livelog): simplify log entry not started check
1 parent 3dd35e2 commit 2628e7a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

internal/ui/log.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ func (s *LiveLog) Render() {
133133
// Move pending entries that have started to in progress
134134
newPending := s.entriesPending[:0]
135135
for _, entry := range s.entriesPending {
136-
isStarted := !entry.started.IsZero()
137-
if !isStarted {
136+
if entry.started.IsZero() {
138137
newPending = append(newPending, entry)
139138
continue
140139
}

0 commit comments

Comments
 (0)