Skip to content

Commit

Permalink
chore(frontend): adapt to new gql schema
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnisDa committed Feb 13, 2025
1 parent c0a550f commit d903daf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/frontend/app/components/media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const MetadataDisplayItem = (props: {
isLoading={isMetadataDetailsLoading}
name={props.name ?? metadataDetails?.title}
imageUrl={metadataDetails?.assets.images.at(0)}
highlightImage={userMetadataDetails?.recentlyConsumed}
highlightImage={userMetadataDetails?.isRecentlyConsumed}
onImageClickBehavior={$path("/media/item/:id", { id: props.metadataId })}
labels={
metadataDetails
Expand Down Expand Up @@ -319,7 +319,7 @@ export const MetadataGroupDisplayItem = (props: {
isLoading={isMetadataDetailsLoading}
name={metadataDetails?.details.title}
imageOverlay={{ topRight: props.topRight }}
highlightImage={userMetadataGroupDetails?.recentlyConsumed}
highlightImage={userMetadataGroupDetails?.isRecentlyConsumed}
onImageClickBehavior={$path("/media/groups/item/:id", {
id: props.metadataGroupId,
})}
Expand Down Expand Up @@ -372,7 +372,7 @@ export const PersonDisplayItem = (props: {
name={personDetails?.details.name}
isLoading={isPersonDetailsLoading}
imageOverlay={{ topRight: props.topRight }}
highlightImage={userPersonDetails?.recentlyConsumed}
highlightImage={userPersonDetails?.isRecentlyConsumed}
imageUrl={personDetails?.details.displayImages.at(0)}
onImageClickBehavior={$path("/media/people/item/:id", {
id: props.personId,
Expand Down

0 comments on commit d903daf

Please sign in to comment.