aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/SubmissionNoticeComponent.tsx
diff options
context:
space:
mode:
authorAjay <[email protected]>2023-12-23 13:16:19 -0500
committerAjay <[email protected]>2023-12-23 13:16:19 -0500
commit8e366b1450f464f6c1046d0644d8d0a16bf2aeb3 (patch)
tree3a32d1856f9979823c427281d046cbccedb90eaf /src/components/SubmissionNoticeComponent.tsx
parent58d503636324b29269957410e060571e387c24b9 (diff)
downloadSponsorBlock-8e366b1450f464f6c1046d0644d8d0a16bf2aeb3.tar.gz
SponsorBlock-8e366b1450f464f6c1046d0644d8d0a16bf2aeb3.zip
Move unsubmitted segments to local storage to remove limits
Also add a way to export local storage Fixes #1933
Diffstat (limited to 'src/components/SubmissionNoticeComponent.tsx')
-rw-r--r--src/components/SubmissionNoticeComponent.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx
index abe32d6d..8f29bcb4 100644
--- a/src/components/SubmissionNoticeComponent.tsx
+++ b/src/components/SubmissionNoticeComponent.tsx
@@ -237,7 +237,7 @@ class SubmissionNoticeComponent extends React.Component<SubmissionNoticeProps, S
let sponsorTimesSubmitting = this.props.contentContainer().sponsorTimesSubmitting;
sponsorTimesSubmitting = sponsorTimesSubmitting.sort((a, b) => a.segment[0] - b.segment[0]);
- Config.config.unsubmittedSegments[this.props.contentContainer().sponsorVideoID] = sponsorTimesSubmitting;
+ Config.local.unsubmittedSegments[this.props.contentContainer().sponsorVideoID] = sponsorTimesSubmitting;
Config.forceSyncUpdate("unsubmittedSegments");
this.forceUpdate();