mirror of
https://github.com/immich-app/immich.git
synced 2025-12-16 17:23:16 +03:00
chore: custom impl for set.difference api (#19135)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { TimelinePlainDate } from '$lib/utils/timeline-util';
|
||||
import { setDifference, type TimelinePlainDate } from '$lib/utils/timeline-util';
|
||||
import { AssetOrder } from '@immich/sdk';
|
||||
import type { DayGroup } from './day-group.svelte';
|
||||
import type { MonthGroup } from './month-group.svelte';
|
||||
@@ -27,7 +27,7 @@ export class GroupInsertionCache {
|
||||
}
|
||||
|
||||
get existingDayGroups() {
|
||||
return this.changedDayGroups.difference(this.newDayGroups);
|
||||
return setDifference(this.changedDayGroups, this.newDayGroups);
|
||||
}
|
||||
|
||||
get updatedBuckets() {
|
||||
|
||||
Reference in New Issue
Block a user