aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/SponsorTimeEditComponent.tsx
diff options
context:
space:
mode:
authorAjay <[email protected]>2024-01-05 22:21:51 -0500
committerAjay <[email protected]>2024-01-05 22:21:51 -0500
commit778d82382052db6a26e46f6b428e7ac49afaf3a8 (patch)
tree807754aa122075141afcdbd4ea9df0410c0b5926 /src/components/SponsorTimeEditComponent.tsx
parenta3c43c868abb56af6f1f516f305f74d1efd44029 (diff)
downloadSponsorBlock-778d82382052db6a26e46f6b428e7ac49afaf3a8.tar.gz
SponsorBlock-778d82382052db6a26e46f6b428e7ac49afaf3a8.zip
Fix unsubmitted segments not saving
Diffstat (limited to 'src/components/SponsorTimeEditComponent.tsx')
-rw-r--r--src/components/SponsorTimeEditComponent.tsx4
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();