Add twitter and mastodon links, fix #846

This commit is contained in:
Pieter Vander Vennet 2022-06-03 19:15:59 +02:00
parent 631108954e
commit b4f8debb77
9 changed files with 2455 additions and 716 deletions

View file

@ -179,7 +179,7 @@ export default class NearbyImages extends Lazy {
towardscenter: false
})
).map(images => {
if (images === undefined && nearbyImages.length === 0) {
if (images === undefined) {
return undefined
}
images = (images ?? []).concat(nearbyImages)