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

View File

@@ -14,13 +14,12 @@
import { AssetAction } from '$lib/constants';
import { createAssetInteractionStore } from '$lib/stores/asset-interaction.store';
import { AssetStore } from '$lib/stores/assets.store';
import { TimeBucketSize } from '@api';
import type { PageData } from './$types';
import { mdiDotsVertical, mdiPlus } from '@mdi/js';
export let data: PageData;
const assetStore = new AssetStore({ size: TimeBucketSize.Month, isFavorite: true });
const assetStore = new AssetStore({ isFavorite: true });
const assetInteractionStore = createAssetInteractionStore();
const { isMultiSelectState, selectedAssets } = assetInteractionStore;