Skip to content

Commit

Permalink
fix failing tests, update to suppress in invidual shares
Browse files Browse the repository at this point in the history
  • Loading branch information
x24git committed Oct 16, 2024
1 parent be10309 commit 3319407
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion web/src/lib/components/photos-page/asset-grid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,6 @@
<AssetViewer
{withStacked}
{assetStore}
{showUserThumbnailsinViewer}
asset={$viewingAsset}
preloadAssets={$preloadAssets}
{isShared}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@
</ControlAppBar>
{/if}
<section class="my-[160px] mx-4" bind:clientHeight={viewport.height} bind:clientWidth={viewport.width}>
<GalleryViewer {assets} bind:selectedAssets {viewport} />
<GalleryViewer {assets} bind:selectedAssets {viewport} showUserThumbnailsinViewer={false} />
</section>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
export let selectedAssets: Set<AssetResponseDto> = new Set();
export let disableAssetSelect = false;
export let showArchiveIcon = false;
export let showUserThumbnailsinViewer = true;
export let viewport: Viewport;
export let onIntersected: (() => void) | undefined = undefined;
export let showAssetName = false;
Expand Down Expand Up @@ -142,6 +143,7 @@
onIntersected={() => (i === Math.max(1, assets.length - 7) ? onIntersected?.() : void 0)}
selected={selectedAssets.has(asset)}
{showArchiveIcon}
{showUserThumbnailsinViewer}
thumbnailWidth={geometry.boxes[i].width}
thumbnailHeight={geometry.boxes[i].height}
/>
Expand Down

0 comments on commit 3319407

Please sign in to comment.