From d6c4fccbc63569a6b5bc9e1a74fcd1317198139c Mon Sep 17 00:00:00 2001 From: Alex <alex.tran1502@gmail.com> Date: Wed, 11 Dec 2024 11:44:54 -0600 Subject: [PATCH] correct prob drilling --- web/src/lib/components/photos-page/asset-date-group.svelte | 4 ++-- web/src/lib/components/photos-page/asset-grid.svelte | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/lib/components/photos-page/asset-date-group.svelte b/web/src/lib/components/photos-page/asset-date-group.svelte index 9246d0f219..8fa97c2f58 100644 --- a/web/src/lib/components/photos-page/asset-date-group.svelte +++ b/web/src/lib/components/photos-page/asset-date-group.svelte @@ -20,7 +20,7 @@ export let singleSelect = false; export let withStacked = false; export let showArchiveIcon = false; - export let showUserThumbnailsinViewer = true; + export let showOwnerAvatar = true; export let assetGridElement: HTMLElement | undefined = undefined; export let renderThumbsAtBottomMargin: string | undefined = undefined; export let renderThumbsAtTopMargin: string | undefined = undefined; @@ -208,7 +208,7 @@ onRetrieveElement={(element) => onRetrieveElement(dateGroup, asset, element)} showStackedIcon={withStacked} {showArchiveIcon} - {showUserThumbnailsinViewer} + {showOwnerAvatar} {asset} {groupIndex} onClick={(asset) => onClick(dateGroup.assets, dateGroup.groupTitle, asset)} diff --git a/web/src/lib/components/photos-page/asset-grid.svelte b/web/src/lib/components/photos-page/asset-grid.svelte index 86a5db6072..12b9f8a916 100644 --- a/web/src/lib/components/photos-page/asset-grid.svelte +++ b/web/src/lib/components/photos-page/asset-grid.svelte @@ -890,7 +890,7 @@ renderThumbsAtBottomMargin={THUMBNAIL_INTERSECTION_ROOT_BOTTOM} {withStacked} {showArchiveIcon} - {showUserThumbnailsinViewer} + {showOwnerAvatar} {assetStore} {assetInteractionStore} {isSelectionMode}