Highlight time stamps are synchronized when scorlling

This commit is contained in:
FlorianZahn 2021-10-03 21:19:06 +02:00
parent 69ce065588
commit 143ca6f6e0

View file

@ -132,6 +132,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
timeAsNumber = 0;
}
sponsorTimeEdits[0] = utils.getFormattedTime(timeAsNumber, true);
if (getCategoryActionType(sponsorTime.category) === CategoryActionType.POI) sponsorTimeEdits[1] = sponsorTimeEdits[0];
this.setState({sponsorTimeEdits});
this.saveEditTimes();
}