diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index b0ea504d..806bb018 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -511,7 +511,7 @@ class SponsorTimeEditComponent extends React.Component 0) { + Config.config.unsubmittedSegments[this.props.contentContainer().sponsorVideoID] = sponsorTimes; + } else { + delete Config.config.unsubmittedSegments[this.props.contentContainer().sponsorVideoID]; + } Config.forceUpdate("unsubmittedSegments"); this.props.contentContainer().updatePreviewBar();