fix(SW.1240): hide see all photos if only one image

This commit is contained in:
Matilda Landström
2024-12-17 11:04:12 +01:00
parent 6168e0a034
commit 6bad29a678

View File

@@ -32,6 +32,8 @@ export default function PreviewImages({
className={styles.image} className={styles.image}
/> />
))} ))}
{images.length > 1 && (
<>
<Button <Button
theme="base" theme="base"
intent="inverted" intent="inverted"
@@ -50,6 +52,8 @@ export default function PreviewImages({
isOpen={lightboxIsOpen} isOpen={lightboxIsOpen}
onClose={() => setLightboxIsOpen(false)} onClose={() => setLightboxIsOpen(false)}
/> />
</>
)}
</div> </div>
) )
} }