Modal, process.env.HTTP_CACHE #643

Merged
Kieran merged 10 commits from mmalmi/snort:main into main 2023-10-06 09:38:30 +00:00
Showing only changes of commit bf0af2d14e - Show all commits

View File

@ -59,7 +59,7 @@ export function SpotlightMedia(props: SpotlightMediaProps) {
<div className="spotlight">
<ProxyImg src={image} />
<div className="details">
{idx + 1}/{props.images.length}
{props.images.length > 1 && `${idx + 1}/${props.images.length}`}
<Icon name="x-close" size={24} onClick={props.onClose} />
</div>
{props.images.length > 1 && (