Adding Congress to nameRenderer function in events.js

This commit is contained in:
niclaz 2024-09-06 23:35:36 +02:00 committed by GitHub
parent c17ceda575
commit 6359a0afa9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -291,6 +291,10 @@ export function nameRenderer (item, full = false) {
//num = item.id.match(/^w3ps(\d+)$/)[1] //num = item.id.match(/^w3ps(\d+)$/)[1]
return `Summit ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '') return `Summit ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '')
break; break;
case 'congress':
//num = item.id.match(/^w3ps(\d+)$/)[1]
return `Congress ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '')
break;
case 'meetup': case 'meetup':
//num = item.id.match(/(\d+)$/) //num = item.id.match(/(\d+)$/)
return `Meetup ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '') return `Meetup ${item.city}` + (full ? ` ${date.year}`: '')// + (cc ? ` @ ${cc}` : '')