Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4719 from toggl-open-source/fix/timeline_ui/overl…
Browse files Browse the repository at this point in the history
…ap_running_te

Timeline UI - fix overlapping for running TE
  • Loading branch information
skel35 authored Nov 30, 2020
2 parents 807b250 + b6bae74 commit 3f61d69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ private static Dictionary<string, TimeEntryBlock> ConvertTimeEntriesToBlocks(Lis
HasTag = !entry.Tags.IsNullOrEmpty(),
IsBillable = entry.Billable
};
if (entry.Started != entry.Ended)
if (entry.Started < ended)
{
timeStampsList.Add((TimeStampType.Start, block));
timeStampsList.Add((TimeStampType.End, block));
Expand Down

0 comments on commit 3f61d69

Please sign in to comment.