diff options
author | Ajay <[email protected]> | 2024-01-05 22:21:51 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2024-01-05 22:21:51 -0500 |
commit | 778d82382052db6a26e46f6b428e7ac49afaf3a8 (patch) | |
tree | 807754aa122075141afcdbd4ea9df0410c0b5926 /src/components/SponsorTimeEditComponent.tsx | |
parent | a3c43c868abb56af6f1f516f305f74d1efd44029 (diff) | |
download | SponsorBlock-778d82382052db6a26e46f6b428e7ac49afaf3a8.tar.gz SponsorBlock-778d82382052db6a26e46f6b428e7ac49afaf3a8.zip |
Fix unsubmitted segments not saving
Diffstat (limited to 'src/components/SponsorTimeEditComponent.tsx')
-rw-r--r-- | src/components/SponsorTimeEditComponent.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/SponsorTimeEditComponent.tsx b/src/components/SponsorTimeEditComponent.tsx index 001755dd..c1af4696 100644 --- a/src/components/SponsorTimeEditComponent.tsx +++ b/src/components/SponsorTimeEditComponent.tsx @@ -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(); |