Fix unsubmitted segments not saving

This commit is contained in:
Ajay
2024-01-05 22:21:51 -05:00
parent a3c43c868a
commit 778d823820
7 changed files with 14 additions and 14 deletions

View File

@@ -640,7 +640,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
sponsorTimesSubmitting[this.props.index].description = description;
Config.local.unsubmittedSegments[this.props.contentContainer().sponsorVideoID] = sponsorTimesSubmitting;
Config.forceSyncUpdate("unsubmittedSegments");
Config.forceLocalUpdate("unsubmittedSegments");
this.props.contentContainer().updatePreviewBar();
@@ -694,7 +694,7 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
} else {
delete Config.local.unsubmittedSegments[this.props.contentContainer().sponsorVideoID];
}
Config.forceSyncUpdate("unsubmittedSegments");
Config.forceLocalUpdate("unsubmittedSegments");
this.props.contentContainer().updatePreviewBar();