chore: custom impl for set.difference api (#19135)

This commit is contained in:
Alex
2025-06-12 11:41:19 -05:00
committed by GitHub
parent 0322a8b1d9
commit 144cc8ab6d
4 changed files with 16 additions and 5 deletions
@@ -9,6 +9,7 @@ import {
fromTimelinePlainDateTime,
fromTimelinePlainYearMonth,
getTimes,
setDifference,
type TimelinePlainDateTime,
type TimelinePlainYearMonth,
} from '$lib/utils/timeline-util';
@@ -132,7 +133,7 @@ export class MonthGroup {
if (moveAssets.length > 0) {
combinedMoveAssets.push(moveAssets);
}
idsToProcess = idsToProcess.difference(processedIds);
idsToProcess = setDifference(idsToProcess, processedIds);
for (const id of processedIds) {
idsProcessed.add(id);
}