Fix status of if segments were found in popup to account for disabled categories

This commit is contained in:
Ajay
2025-07-21 04:00:33 -04:00
parent 907eba3827
commit 92b3cda9ef

View File

@@ -1193,7 +1193,7 @@ async function sponsorsLookup(keepOldSubmissions = true, ignoreCache = false) {
const receivedSegments = segmentData.segments;
if (receivedSegments && receivedSegments.length) {
sponsorDataFound = true;
sponsorDataFound = receivedSegments.findIndex((segment) => getCategorySelection(segment).option !== CategorySkipOption.Disabled) !== -1;
// Check if any old submissions should be kept
if (sponsorTimes !== null && keepOldSubmissions) {