Skip to content

Commit

Permalink
Prevent pager from showing stale images.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctslater committed Dec 6, 2024
1 parent 24cdb9d commit 7d02b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/_components/plotDisplay.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default async function PlotDisplay({plotEntry, showDataId = true, showDat
{ showDatasetType ? typeWithWbr : "" }
</div>
{ showPermalink ? <div className="text-1xl float-right"><a href={`${process.env.BASE_URL ?? ''}/${permalink}`}>Plot link</a></div> : "" }
<img src={`${process.env.BASE_URL ?? '' }/images/uuid/${encodeURIComponent(repo)}/${uuid}`} />
<img key={uuid} src={`${process.env.BASE_URL ?? '' }/images/uuid/${encodeURIComponent(repo)}/${uuid}`} />
</div>

)
Expand Down

0 comments on commit 7d02b77

Please sign in to comment.