mirror of
https://github.com/immich-app/immich.git
synced 2026-03-11 04:37:39 +03:00
refactor: always use the same bucket size (#4662)
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
import { AssetStore } from '$lib/stores/assets.store';
|
||||
import { websocketStore } from '$lib/stores/websocket';
|
||||
import { handleError } from '$lib/utils/handle-error';
|
||||
import { AssetResponseDto, PersonResponseDto, TimeBucketSize, api } from '@api';
|
||||
import { AssetResponseDto, PersonResponseDto, api } from '@api';
|
||||
import { onMount } from 'svelte';
|
||||
import type { PageData } from './$types';
|
||||
import { clickOutside } from '$lib/utils/click-outside';
|
||||
@@ -49,7 +49,6 @@
|
||||
}
|
||||
|
||||
let assetStore = new AssetStore({
|
||||
size: TimeBucketSize.Month,
|
||||
isArchived: false,
|
||||
personId: data.person.id,
|
||||
});
|
||||
@@ -153,7 +152,6 @@
|
||||
}
|
||||
if (previousPersonId !== data.person.id) {
|
||||
assetStore = new AssetStore({
|
||||
size: TimeBucketSize.Month,
|
||||
isArchived: false,
|
||||
personId: data.person.id,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user