mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore!: remove without assets (#27835)
* chore!: remove without assets * fix: linting and e2e --------- Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
};
|
||||
|
||||
const refreshAlbum = async () => {
|
||||
album = await getAlbumInfo({ id: album.id, withoutAssets: true });
|
||||
album = await getAlbumInfo({ id: album.id });
|
||||
};
|
||||
|
||||
const onAlbumUserDelete = async ({ userId }: { userId: string }) => {
|
||||
|
||||
+1
-1
@@ -133,7 +133,7 @@
|
||||
};
|
||||
|
||||
const refreshAlbum = async () => {
|
||||
album = await getAlbumInfo({ id: album.id, withoutAssets: true });
|
||||
album = await getAlbumInfo({ id: album.id });
|
||||
};
|
||||
|
||||
const setModeToView = async () => {
|
||||
|
||||
@@ -4,7 +4,7 @@ import type { PageLoad } from './$types';
|
||||
|
||||
export const load = (async ({ params, url }) => {
|
||||
await authenticate(url);
|
||||
const album = await getAlbumInfo({ id: params.albumId, withoutAssets: true });
|
||||
const album = await getAlbumInfo({ id: params.albumId });
|
||||
|
||||
return {
|
||||
album,
|
||||
|
||||
@@ -8,7 +8,6 @@ export const albumFactory = Sync.makeFactory<AlbumResponseDto>({
|
||||
description: '',
|
||||
albumThumbnailAssetId: null,
|
||||
assetCount: Sync.each((index) => index % 5),
|
||||
assets: [],
|
||||
createdAt: Sync.each(() => faker.date.past().toISOString()),
|
||||
updatedAt: Sync.each(() => faker.date.past().toISOString()),
|
||||
id: Sync.each(() => faker.string.uuid()),
|
||||
|
||||
Reference in New Issue
Block a user