mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore: custom impl for set.difference api (#19135)
This commit is contained in:
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue