Fixed submitted sponsors and prevented preview sponsors from being voted on

This commit is contained in:
Ajay Ramachandran
2020-04-04 23:35:44 -04:00
parent 55e17ceb60
commit f6945b56d8
3 changed files with 5 additions and 2 deletions

View File

@@ -248,7 +248,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
sponsorTimesSubmitting[this.props.index].category = this.categoryOptionRef.current.value;
Config.config.sponsorTimes.set(this.props.contentContainer().sponsorVideoID, sponsorTimesSubmitting);
Config.config.sponsorTimes.set(this.props.contentContainer().sponsorVideoID, utils.getSegmentsFromSponsorTimes(sponsorTimesSubmitting));
this.props.contentContainer().updatePreviewBar();
}