limit maps select length (fixes 1331399827)

This commit is contained in:
bignutty 2025-01-26 14:21:47 +01:00
parent 0f7c2da09b
commit 3d3b91a4cd
2 changed files with 5 additions and 5 deletions

View file

@ -213,10 +213,10 @@ module.exports = {
placeholder: "Select a place",
defaultValues: [],
options: search.places.map((p, i) => ({
label: p.place.name,
label: stringwrap(p.place.name, 100),
value: `${i}`,
emoji: icon(`maps_${p.place.icon}_pin`),
description: p.place.address
description: stringwrap(p.place.address, 100)
}))
})
}