refactor: always use the same bucket size (#4662)

This commit is contained in:
Jason Rasmussen
2023-10-26 14:55:10 -04:00
committed by GitHub
parent 0167407370
commit c76c1d6bf8
9 changed files with 17 additions and 21 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
} from '$lib/components/shared-components/notification/notification';
import LinkButton from '$lib/components/elements/buttons/link-button.svelte';
import { AssetStore } from '$lib/stores/assets.store';
import { api, TimeBucketSize } from '@api';
import { api } from '@api';
import Icon from '$lib/components/elements/icon.svelte';
import type { PageData } from './$types';
import { featureFlags, serverConfig } from '$lib/stores/server-config.store';
@@ -28,7 +28,7 @@
$: $featureFlags.trash || goto(AppRoute.PHOTOS);
const assetStore = new AssetStore({ size: TimeBucketSize.Month, isTrashed: true });
const assetStore = new AssetStore({ isTrashed: true });
const assetInteractionStore = createAssetInteractionStore();
const { isMultiSelectState, selectedAssets } = assetInteractionStore;
let isShowEmptyConfirmation = false;